Answer:
A generator
Step-by-step explanation:
A generator is a machine that converts mechanical energy into electrical energy. Mostly they are used a power sources for other machines. There are various sources of mechanical energy that can be used to spin the wire coils in a magnetic field in a generator depending on the type of power plant. The wire coils have to be spined so as to induce electric potentials in the coil. it works on the principle of electromagnetic induction.