A spectrometer is an instrument that can detect wavelengths of material at very small scales that are used to determine the composition of the materials.