A compressed spring has elastic potential energy.