A flywheel is a mechanical device designed to store rotational energy. It is typically a heavy, circular disk attached to the engine's crankshaft. The primary function of a flywheel is to smooth out the power delivery from the engine, ensuring a steady rotation by storing excess energy during power strokes and releasing it during the non-power strokes of the engine cycle.