Which of the following best describes why the Sun's spectrum contains black lines over an underlying rainbow?
The Sun produces a continuous rainbow of color, while the black lines are caused by imperfections in the instruments used to record the spectrum.
The Sun's hot interior produces a continuous rainbow of color, but cooler gas at the surface absorbs light at particular wavelengths.
The rainbow colors represent emission by particular chemical elements, while the black lines represent gaps where no element can emit light.
The Sun produces a continuous rainbow of color, while the black lines are caused by atoms and molecules in Earth's atmosphere.