The energy which a body possess due to its position or due to change in the shape is called potential energy.
Example 1: A brick which is suspended above the ground has energy because it would do work by falling to the ground. Its energy is due to its position and therefore it is potential energy.
Example 2: The potential energy of a stretched bow string results from a change in its shape.