The geodynamo is driven by the Earth's rotation. The rotation of the Earth creates a _Coriolis force, which is a force that acts on objects moving in a rotating frame of reference. The Coriolis force causes the liquid iron in the outer core to circulate in a convection pattern. This convection pattern generates electric currents, which in turn create the magnetic field.
The strength of the Earth's magnetic field varies over time. The field is strongest at the poles and weakest at the equator. The field also reverses polarity every few hundred thousand years. The last reversal occurred about 780,000 years ago.
The Earth's magnetic field is important for a number of reasons. It shields the Earth from harmful solar radiation, and it helps animals to navigate. The magnetic field also plays a role in the formation of the Earth's atmosphere and oceans.