What is strain energy

In a molecule, strain energy is released when the constituent atoms are allowed to rearrange themselves during a reaction. The external work done on an elastic member in causing it to distort from its unstressed state is transformed into strain energy which may be a sort of P.E..