(a)Generator
A Generator is the device that generates electrical current. Electrical energy is converted into mechanical energy by the generator.