Generator A device that turns mechanical energy into electrical energy. The mechanical energy is sometimes provided by an engine or turbine.