This causes line emission spectra to be produced, as shown below. This is not a continuous spectrum as only light of specific frequencies and specific colours are produced. Different types of ...
Studying the line spectra produced by hot gases and absorbed by cooler gases allows us to identify the elements in stars. When a gas is very hot, it doesn’t emit all wavelengths of light.