Mercury vapour lamp produces a line emission spectrum.
Oil flame produces a continuous emission spectrum.
The nature of band spectrum helps to identify the nature of atoms present in a particular molecule. Hence it is used to study molecular structure.