what is the electromagnet used for
A magnetic field can be formed by passing electric current through a wire, and electromagnets work on this basic principal. Electromagnets are used for creating plenty of appliances ranging from motors, speakers, heads for tape drives, and hard disks; here's a brief insight to electromagnets.