Notice the absorption band in the stellar spectrum.
They are the light colored bands.
The dark bands or dark lines are emission spectra.