An electromagnet is the most powerful type of magnet there is. It is a magnet with a current running through it that can be turned on and off. Why might it be useful to be able to turn the electromagnet on and off?

to reduce wearing out of the magnet over time
to not waste electricity
to control the strength of the magnet
to latch onto and let go of objects

easily