Friction is a resistance caused by a surface. It is a contact force that resists the relative motion between two surfaces. For example, when you stop pedalling a bicycle, it slows down and stops after some time. This is because of the frictional force.