Which instrument is used for measuring the spectrum of light?

Sextant

Saccharimeter

Stethoscope

Spectrometer