Line spectra are due to
Hot solids
Atoms in gaseous state
Molecules in gaseous state
Liquid at low temperature
Line spectra are due to atoms in gaseous state.