Answer:
When the light leaves the surface of the Sun, it is very nearly a continuous spectrum. However, as it passes through the Sun's atmosphere, gasses present in that atmosphere absorb specific wavelengths of light, leaving the pattern seen in the spectrum above
Explanation: