The water is obtained in the boiler and the coal is burnt so that steam is obtained this steam is allowed to hit the turbine , the turbine which is coupled with the generator generates the electricity.