What must happen for an electromagnet to have a magnetic field?
Electromagnets are temporary magnets that have the property of a magnetic only when they are connected to an electrical source.