An electric generator works on the principle of Faraday's law of electromagnetic induction. Faraday's law of electromagnetic induction states that “whenever a current carrying conductor are placed in the magnetic field, then a flux is induces in the circuit due to which a current start to flow in the rotor also.