Electric generator is a device that converts mechanical energy obtained from an external source into electrical energy as an output. It was discovered that the above flow of electric charges could be induced by moving an electrical conductor such as a wire that contains electric charges in a magnetic field