Sun spots appear when the sun's magnetic field is concentrated.