A compressed spring is a mechanical device that stores potential energy when it is compressed or squeezed from its normal length. This potential energy is stored as elastic potential energy, which can be converted into kinetic energy when the spring returns to its original shape. The behavior of a compressed spring is governed by Hooke's Law, which states that the force exerted by the spring is directly proportional to the distance it is compressed.