A turbine converts the kinetic energy of a moving fluid (liquid or gas) to mechanical energy. In a steam turbine, steam is forced against a series of blades mounted on a shaft. The steam rotates the shaft connected to a generator. The generator, in turn, converts its mechanical energy to electrical energy based on the relationship between magnetism and electricity.
In steam turbines powered by fossil fuels (coal, natural gas, and petroleum), the fuel is burned in a furnace to heat water in a boiler to produce steam.
In 2016, natural gas was the largest energy source for the 4 trillion kilowatthours of electricity generated in the United States.