Understanding the Magnetic Sun