Here's how the geodynamo works:
1. Convection: Heat from the Earth's inner core, which is solid, creates convection currents in the liquid outer core. The hotter, less dense material rises, while the cooler, denser material sinks.
2. Rotation: Earth's rotation influences the convection currents, causing them to flow in a helical pattern.
3. Electric Currents: The motion of electrically conductive liquid iron in the outer core generates electric currents.
4. Magnetic Field: These electric currents create a magnetic field, similar to how an electromagnet works.
The magnetic field generated by the geodynamo extends far beyond Earth's surface, creating the magnetosphere that protects us from harmful solar radiation.
It's important to note that this is a simplified explanation of a very complex process. Geologists are still studying the geodynamo to fully understand its behavior and how it influences Earth's magnetic field over time.