A closer look at Blackbody radiation
An ideal absorber in thermal equilibrium emits a spectrum determined by its temperature.
Many dense astronomical sources resemble this smooth spectrum over part of their emission. Deviations can provide clues to composition or structure.
A star’s continuum estimates its surface temperature, while narrow dips superimposed on that continuum reveal atoms in its atmosphere. For the surrounding ideas, see Stellar effective temperature and Wien’s displacement law.
Want to learn more about Blackbody radiation? Black-body radiation on Wikipedia.

