Magnets which behave as magnets only while on passing electric current in a coil wrapped around them.
Electromagnet:
Hence,Magnets which behave as magnets only while on passing electric current in a coil wrapped around them is known as Electromagnet.