A spectrometer according to one aspect may include a plurality of light sources configured to emit light to a target object, a plurality of wavelength controllers installed on one surface of each of the plurality of light sources and configured to adjust a peak wavelength band of each of the light sources, and a detection unit configured to detect light returning from the target object.