Friction in an S-cam brake is caused when the brake shoes and linings:

Friction inside a brake drum is caused when the brake shoes and linings push against the inside of the drum. The friction in the drums will slow and stop the vehicle.