Earth’s magnetic field is generated by the geodynamo mechanism. Convection currents of electrically conductive molten iron in the outer core, influenced by the Coriolis effect from Earth’s rotation, create a self-sustaining system of electric currents. These currents produce the planet’s large-scale magnetic field, behaving like a giant electromagnet. This process is described by magnetohydrodynamics (MHD).





