The Sun, our closest star, boasts a powerful magnetic field responsible for creating sunspots and unleashing solar storms. These storms recently illuminated the night sky with stunning auroras visible from various parts of the world. However, the process behind the generation of this magnetic field has puzzled scientists for centuries, dating back to Galileo's first sunspot observations in the early 1600s.