An Electromagnet is iron or steel core, Steel is much weaker. with coiled wire around it & when an electric current is put through it, it creates an Electromagnet.
When the electric current is blocked (stopped) it is no longer a magnet, so it is very useful for jobs were you need to turn it on & off.
Used in electric motors for cars and other machines.