
Magnetic fields are produced by the motion of electrical charges. For example, the magnetic field of a bar magnet results from the motion of negatively charged electrons in the magnet. The origin of the Earth's magnetic field is not completely understood, but is thought to be associated with electrical currents produced by the coupling of convective effects and rotation in the spinning liquid metallic outer core of iron and nickel....