Hydroelectric energy is potential energy that is converted to kinetic energy through the forces of gravitation, which again comes from solar energy, driving the water cycle around. To answer the question, hydroelectric energy is the result of heat energy from the sun and the gravitational forces from the earth.