It is produced by hydroelectric dams. These dams, falling water is used to turn turbines which rotate the alternator- the machine that generates the electricity.