The correct answer is A. Absorption of corresponding wavelengths by the outer layers of the sun.
The dark lines in the solar spectrum are called Fraunhofer lines, and they are caused by the absorption of certain wavelengths of light by the gases in the sun’s atmosphere. The different elements in the sun’s atmosphere absorb different wavelengths of light, so the Fraunhofer lines are a unique fingerprint of the sun’s composition.
Option B is incorrect because destructive interference is not a factor in the formation of Fraunhofer lines. Option C is incorrect because the prism used in the photograph does not absorb any wavelengths of light. Option D is incorrect because the light emitted by the core of the sun does contain all wavelengths of light, but the outer layers of the sun absorb some of these wavelengths.