Hello fellas! I am Christian Oerstead one of the scientist who discovered an electromagnetism.I will explain on what I've discovered about electromagnetism.
while Oesrtead presenting a demonstration to some science students. Ironically, he was trying to show them that electricity and magnetism are not related. He placed a wire with electric current flowing through it next to a compass, which has a magnetic needle. As he expected, the needle of the compass didn’t move. It just kept pointing toward Earth’s north magnetic pole.
To Oersted’s surprise, the needle of the compass swung toward the wire so it was no longer pointing north. Oersted was intrigued. He turned off the current in the wire to seewhat would happen to the compass needle. The needle swung back to its original position, pointing north once again. Oersted had discovered that an electric current creates a magnetic field. The magnetic field created by the current was strong enough to attract the needle of the nearby compass.
Just about a decade after Oersted discovered that electric current can produce a magnetic field, an English scientist named Michael Faraday discovered that the opposite is also true.