what is the purpose of spoilers on cars
Spoiler (car) A spoiler is an automotive aerodynamic device whose intended design function is to 'spoil' unfavorable air movement across a body of a vehicle in motion, usually described as turbulence or drag. Spoilers on the front of a vehicle are often called air dams. Spoilers are often fitted to race and high-performance sports cars, although they have become common on passenger vehicles as well. Some spoilers are added to cars primarily for styling purposes and have either little aerodynamic benefit or even make the aerodynamics worse.
Formula One car Several teams started to experiment with the now familiar wings in the late 1960s. Race car wings operate on the same principle as aircraft wings, but are configured to cause a downward force rather than an upward one. A modern Formula One car is capable of developing 6 G's of lateral cornering force[15] (six times its own weight) thanks to aerodynamic downforce. The aerodynamic downforce allowing this, is typically greater than the weight of the car. That means that, theoretically, at high speeds they could drive on the upside down surface of a suitable structure; e.g. on the ceiling.