The correct option is D The mechanical energy changes into the electrical energy.
The generation of electrical power requires relative motion between a magnetic field and a conductor. In a generator, mechanical energy is converted into electrical energy. The electricity produced by most generators is in the form of alternating current.