Which instrument is used for measuring the spectrum of light?

Stethoscope

Sextant

Saccharimeter

Spectrometer