A compression spring is a spring bent into a spiral shape, usually made of metal wire, and its cross-section can be round, square or other shapes. The main function of a compression spring is to store elastic energy when compressed by an external force, and to rebound and return to its original shape or position when the external force is relieved or disappears. This characteristic makes compression springs widely used in many mechanical devices and systems.