Dear Student ,
When a piece of magnet shuttles through a loop of conductor (such as copper wire ) it induces electrical energy in the conductor this is known as induction .When alternating current(AC) or interrupted DC current applied to the primary winding of a transformer the magnetic flux cutting through the secondary known as the conduction of electromagnet .It produces electric power in the secondary .
Regards