A spectrometer is an optical instrument for producing and analyzing spectra.Light is emitted or absorbed when an electron changes its orbit within an individual atom.The importance of the spectrometer as a scientific instrument is based on a simple but crucial fact.