Firstly, a flowing fluid-water, steam, combustion gases, or air-pushes a sequence of blades placed on a rotor shaft in a turbine generator. Further, the rotor shaft of a generator is spun/rotated by the force of the fluid on the blades. So, the rotor's mechanical (kinetic) energy is converted to electrical energy via the generator.