A flywheel is a heavy disk or wheel that is attached to a rotating shaft. Flywheels are used for storage of kinetic energy. The momentum of the flywheel causes it to not change its rotational speed easily. Because of this, flywheels help to keep the shaft rotating at the same speed. This helps when the torque applied to the shaft changes often. Uneven torque can change the speed of rotation. Because the flywheel resists changes in speed, it decreases the effects of uneven torque. Engines which use pistons to provide power usually have uneven torque and use flywheels to fix this problem.