A spectrometer is any instrument used to probe a property of light as a function of its portion of the electromagnetic spectrum, typically its wavelength, frequency, or energy. The property being measured is usually intensity of light, but other variables like polarization can also be measured.