Water behind a dam changes its potential energy (energy due to its elevated level) into kinetic energy (the turning of the turbine blades) and then into electricity in the generator and then into light and heat in the light bulbs of your house.