Stars for instance have absorption spectra, in fact, the absorption line tell you what the temperature of the star is.