The flywheel in an engine stores the energy given to it by the
moving pistons and smooths the rotation. In single cylinder engines
the power stroke of the piston would cease immediately if it were
not for the flywheel continuing the exhaust stroke to rid the
cylinder of the spent gases.