The short answer

In a hydraulic disc brake, pressing the pedal raises pressure in brake fluid. That pressure moves a piston so brake pads squeeze a disc attached to the wheel. Friction heats the pads and disc. Grip between the tires and road lets the braking wheels slow the car.123

Follow the pressure to one wheel

In a conventional hydraulic system, your foot pushes the brake pedal. With help from a brake booster, that moves a piston in the master cylinder. It presses on brake fluid in a connected line. Pressure in that fluid reaches another piston at the wheel, inside a clamp called a caliper.1

A metal disc, also called a rotor, turns with the wheel. The caliper straddles its edge. When the piston moves, the pads squeeze the two faces of the spinning disc. The pads are held by the caliper, so the disc keeps sweeping past them as they rub. That rubbing resists the turn.1

Both pads grip the rotor. The gold mark slows as friction transfers energy into heat.
Watch the pads meet the disc

The wheel slows. What slows the car?

Picture a bicycle with one wheel lifted off the ground and spinning. Squeeze its brake and the wheel stops turning. Back on the road, there’s another contact to account for. As the brake resists the wheel’s rotation, the rolling tire pushes forward on the road and the road pushes backward on the tire. That backward force slows the whole car. On ice, even a strong clamp at the disc can get very little grip at the road.12

Where did the energy go? During a friction-braked stop, much of the car’s energy of motion becomes heat in the discs and pads, which can then warm the air. Speed matters here. For the same car, doubling the speed means four times the energy of forward motion to shed on the way to a stop.13