Explain Science
Topic
Physics

Electromagnetism

Electromagnetism is a fundamental interaction between two types of fields, electric fields and magnetic fields. Electric fields are created by charges, such as electrons or protons, which produce forces on other charges. Magnetic fields are created by moving charges, such as electrons moving through a wire, which can attract or repel other magnets.

When an electric current flows through a metal wire, it creates a magnetic field around the wire. This is the principle behind electromagnets, which are used in many devices, such as motors, speakers, and MRI machines.