A torsion spring is a spring that works by twisting its end along its axis; that is, a flexible elastic object that stores mechanical energy when it is twisted. When it is twisted, it exerts a torque in the opposite direction, proportional to the amount (angle) it is twisted. There are various types:
A torsion bar is a straight bar of metal or rubber that is subjected to twisting (shear stress) about its axis by torque applied at its ends.
A more delicate form used in sensitive instruments, called a torsion fiber consists of a fiber of silk, glass, or quartz under tension, that is twisted about its axis.
A helical torsion spring, is a metal rod or wire in the shape of a helix (coil) that is subjected to twisting about the axis of the coil by sideways forces (bending moments) applied to its ends, twisting the coil tighter.
Clocks use a spiral wound torsion spring (a form of helical torsion spring where the coils are around each other instead of piled up) sometimes called a "clock spring" or colloquially called a mainspring. Those types of torsion springs are also used for attic stairs, clutches, typewriters[1] and other devices that need near constant torque for large angles or even multiple revolutions.