Answer:
The correct answer is option D.using a generator
Step-by-step explanation:
An electric generator is a rotary machine capable of producing electrical energy by transforming mechanical energy. In other words, a generator is an electric machine that transforms mechanical energy into electrical energy, thanks to the interaction of its main components: the rotor (moving part) and the stator (static part). When an electric generator is in operation, one of the two parts generates a magnetic flux (acts as an inductor) so that the other transforms it into electricity (acts as induced).
That is, the mobile rotor or inductor generates the magnetic field on which the operation of the generator is based, while the stator or fixed armature generates the electrical energy.
So, the correct answer is option D.using a generator