Electromagnet

A magnet which derives its magnetic properties from the magnetic flux set up by an electric current flowing through its windings.