When you want your car to slow down or stop, you need to take the brake operation. At this point, you need to step down your brake pedal.
In brake systems, the operated devices are cylinders inside of brake calipers or drum brakes.
When the brake pedal is depressed, the master cylinder converts the mechanical force from the brake pedal into hydraulic pressure. The piston of master cylinder moves forward and pushes the brake fluid into the slave cylinder. The fluid presses against the pistons that move outward in the cylinder, and they push the brake pads towards a surface that rotates with the wheel until the stationary brake pads create friction against that rotating surface.