If a coil made of conducting wires is rotated between poles pieces of the permanent magnet. The motion will generate a current and this device is called
In an electric generator mechanical energy is used to rotate a conductor in a magnetic field to produce electricity.