Rear spoilers can keep a wing-shaped car from lifting weight off the back wheels... More weight/more traction. Helps for stabilization, but mostly just at relatively high speeds. It keeps the front/back weight ratio from getting out of hand.
Most of the goofy looking add-on wings are for “style”. The factory spoilers on high performance cars have been designed for the car.
I should have added. the ‘/s’.