spectrometer

Any instrument used to study light as a function of wavelength.