The dynamo process is a mechanism by which a celestial body such as a planet or a star generates a magnetic field. This process is responsible for the magnetic fields present in planets like Earth and Jupiter, as well as the Sun.
There are two main components that drive the dynamo process: fluid motion in the planet's or star's interior and the presence of a conducting fluid or plasma. The fluid motion is often the result of convection caused by heat generated from the body's core. In the case of Earth, the convective motion of molten iron in the outer core is a key driver of the dynamo process.
As the conducting fluid moves within the body, it creates electric currents due to the motion of charged particles. These electric currents, in turn, generate magnetic fields through a process known as the dynamo effect. The resulting magnetic field extends into space around the body, creating a magnetosphere that can interact with solar winds and cosmic rays.