Electricity is generated in a power station by the combustion of fossil fuels. Water is heated until it reaches boiling temperature. The steam produced turns a turbine which powers a generator which produces electricity.