A turbine is a machine for generating rotary mechanical power from the energy of a stream of fluid (such as water, steam, or hot gas). Turbines convert the kinetic energy of fluids to mechanical energy through the principles of impulse and reaction, or a mixture of the two.