The brakes on a car work because applying the brakes creates friction between the pads and the discs inside of the car, it slows down the motion of the wheels and causes the car to stop moving.
The direction of the force is always in the opposite direction to that in which the object is moving or trying to move in.
Friction is a force that slows down the speed of a moving object on a surface.
Beta