Magnetism is a physical phenomenon that arises from the motion of electric charges. Magnetic materials, such as iron, nickel, and cobalt, can be magnetised by exposing them to a magnetic field. This process aligns the magnetic domains within the material, giving it the ability to attract or repel other magnetic materials.
Magnetism has been used for centuries to create compasses, motors, and generators. It is also used in a wide variety of other applications, such as magnetic resonance imaging (MRI) and magnetic levitation (maglev) trains.