What is an electromagnet?
An electromagnet is a magnet created by a wire carrying electric current.
How does it work?
An electromagnet works by an electric current producing a magnetic field.
Who invented an electromagnet?
The electromagnet was invented by a Danish physicist and chemist, Hans Christian Øersted, in 1819. He had noticed that a current in a wire caused a compass needle to deflect, discovering that moving electric charges create a magnetic field.