A spoiler is an aerodynamic device that is designed to 'spoil' the movement of air (often called drag) across a vehicle body while it is moving.