The three main types of energy used to generate electricity are nuclear energy, renewable energy sources, and fossil fuels (coal, natural gas, and petroleum). Using fossil fuels, nuclear energy, biomass, geothermal, and solar thermal energy, steam turbines are used to produce the majority of the world's power.