For an excellent explanation of how the various types of power generation works see the sectors below:
Solar
Nuclear
Wind power
Photovoltaic
Fossil Fuel
Hydro
Wave power
Geothermal
Bio mass
Tidal power
Pumped storage