A torsion spring is a type of mechanical spring that works by twisting. Instead of compressing or extending, torsion springs store energy in a rotational or twisting motion and exert a force when twisted or rotated. The force generated is proportional to the amount of twist applied to the spring.