And how they work

Whats an electromagnet?

An electromagnet is a soft metal core turned into a magnet by electric passing though the coils wrapped around it. They are commonly used in motors, from cars like the Tesla Model S, to things like toys.

(Source: Google)

(Picture below.)

How does it work?

An electromagnet works because an electric current produces a magnetic field. The magnetic field produced by an electric current forms circles around the electric current.

(Source: education.jlab.org/qa/electromagnet_is.html)

Who invented it?

William Sturgeon invented the electromagnet.

(Source: Google)

Why did he invent it?

Because magnets could be more powerful this way. There is a limit to how powerful magnets from the earth can be, and with electromagnets the more voltage you crank through them, the more powerful they get.

How are they used in everyday life?

They're used in motors, sorting out metals, and junk yard magnets.

(As seen in pictures below)

(Source: http://www.universetoday.com/39295/uses-of-electromagnets/)

High Voltage Fun with Science - Experiment in Electromagnetism