an optical instrument for forming and examining spectra (as that of solar light, or those produced by flames in which different substances are volatilized), so as to determine, from the position of the spectral lines, the composition of the substance.