DC generators' primary function is to convert mechanical energy into electrical energy.
DC generators generate electricity using the principle of Faraday's law of electromagnetic induction.
When a conductor is placed in a varying magnetic field, an electromotive force gets induced within the conductor.
This induced e.m.f magnitude is measured using the equation of the electromotive force of a generator.
If the conductor is provided with a closed path, the induced current will circulate within the closed path. In this generator, field coils will generate an electromagnetic field as well as the armature conductors are turned into the field.
Therefore, an electromagnetically induced electromotive force (e.m.f) will be generated within the armature conductors.