Flywheels are often used to provide continuous energy in systems where the energy source is not continuous. In such cases, the flywheel stores energy when torque is applied by the energy source, and it releases stored energy when the energy source is not applying torque to it. For example, a flywheel is used to maintain constant angular velocity of the crankshaft in a reciprocating engine. In this case, the flywheel—which is mounted on the crankshaft—stores energy when torque is exerted on it by a firing piston, and it releases energy to its mechanical loads when no piston is exerting torque on it. Other examples of this are friction motors, which use flywheel energy to power devices such as toy cars.