Gravity mostly.
Water wants to run downhill and if you build a gigantic dam in the way of a river and only allow it to flow though a set of small pipes you can use that to generate lot of electricity.
In some cases reservoirs are sued a s giant batteries for the power grid.
Electricity is also used at some points to pump water up and generated later by letting the water flow through a generator t get electricity.
Latest Answers