An electromagnet is a coil of wire wound on a soft iron core which acts as a magnet due to the magnetic field of electric current.

An electromagnet is a coil of wire wound on a soft iron core which acts as a magnet due to the magnetic field of electric current.