Bicycles and e-bikes have different types of bicycle brakes for the rear wheel. Common variants are foot brakes, disc brakes, rim brakes and drum brakes. With foot brakes, you brake by pedalling backwards. With disc brakes, braking occurs by means of a brake handle on the handlebars which presses together to break pads against a disc attached to the hub of the rear wheel. With rim brakes, you brake by using a brake handle on the handlebars that presses two brake pads against the braking surface on the rim. With drum brakes, you brake by using a brake handle handlebars that forces the brake shoes out against a rotating drum attached to the rear hub. Hydraulic brakes work by forcing hydraulic fluid/brake fluid through a tube from the brake handle and down to the brake mechanism, while mechanical brakes work by means of a wire.