how hydraulic brakes work
All brakes use a hydraulic system, wherein fluid moves through brake lines to create pressure which presses the brakes pads against the rotors and stops the car. Drum brakes work the same way, where brake shoes presses against the drum. All cars have four brakes - two rear brakes and two front brakes.