In electricity generation, a generator is a device that converts mechanical energy to electrical energy for use in an external circuit. 

The reverse conversion of electrical energy into mechanical energy is done by an electric motor,
and motors and generators have many similarities. many motors can be mechanically driven to generate electricity and frequently make acceptable generators. 

2 1 2