How do electromagnets work?

cbse
electromagnetism

#1

By passing D.C. current through a conductor wound around a core, a magnetic field is developed around the current carrying conductor and work as a magnet.