Electromagnets are used in cranes. As they can be turned on and off, it helps the crane pick up and put down different metals. This crane is being used to lift rail track.

17