Absorption spectra

Absorption spectra, or dark line spectra, arise when photons of specific frequency are absorbed by cooler gas, leaving a darker line on a background continuum region. Most stellar spectra, including that from the Sun, are absorption spectra.