Generator is a machine that converts one form of energy into another, especially mechanical energy into electrical energy, as a dynamo, or electrical energy into sound, as an acoustic generator, or speaker. Sources of mechanical energy include steam turbines, gas turbines, water turbines, internal combustion engines, and wind turbines.