Step 1: Understanding electromagnetic induction.
The phenomenon of electromagnetic induction is the principle behind the operation of devices like generators and transformers. It involves the generation of an electromotive force (emf) when the magnetic flux through a coil changes.
Step 2: Application in generators.
In a generator, mechanical energy is converted into electrical energy using electromagnetic induction. A coil is rotated within a magnetic field, which induces an emf and generates an electric current.
Step 3: Conclusion.
Thus, the laws of electromagnetic induction are used in the construction of a generator, corresponding to option (D).