Which instrument is used for measuring the spectrum of light?

Saccharimeter

Spectrometer

Stethoscope

Sextant