Line spectrum are sharp lines of definite wavelengths. It is the characteristic of the emitting substance. It is used to identify the gas.
Atoms n the gaseous state, i.e. free excited atoms emit line spectrum. The substance in atomic state such as sodium in sodium vapour lamp, mercury in mercury vapour lamp and gases in discharge tube give line spectra.