The water held behind the dam has PE because of its position water in the reservoir is on height and when something is on a certain height the P.E. increases.
Water stored in a dam has potential energy.