Potential energy is energy due to position of one body with respect to another or to the relative parts of the same body.