Electromagnet
An electromagnet is a magnet made by passing electric current through a coil of wire, often wound around an iron core. It is magnetic only while current flows, and stops when the current is switched off. A stronger current or more turns of wire makes it pull harder.
Example: Scrapyard cranes use a large electromagnet to lift old cars and then drop them by switching off the current.


