Car brakes are mechanical devices that by absorbing energy from a moving system inhibit motion. As you all well know, they slow or stop vehicles, axles, wheels by preventing their motion which is usually accomplished by means of friction.
Moreover, they are many types of brakes that one can thing of. There are electromagnetic brakes that use an electric motor, pumping brakes which use a pump as part of the machinery and the most common type – the frictional brake, more popularly known as the Pad brake.
This is how car brakes are made!