If we could put a giant horseshoe magnet inside of the Sun, it would make a magnetic field a lot like the magnetic field that two sunspots make. Sunspots tend to come in pairs. One sunspot is like the North pole of a magnet; the other sunspot is like a South pole.
Windows to the Universe original artwork by Randy Russell using an image from NASA's TRACE (Transition Region and Coronal Explorer) spacecraft.