Dr Helen Mason explores what causes solar activity and what we are learning about the Sun from space observations in the ultraviolet and X-ray wavelength ranges.