The diagram below represents the light spectra given off by the same element as observed under two different conditions Spectrum A was observed when that element was heated in a laboratory Spectrum B shows the same element as seen in the light from a distant star