Abstract This paper begins with the Messier 42 nebula, talking about how different color lights form due to the electron transport in Bohr’s model. How these lights are absorbed by gas and form the absorption spectrum, then how these lights are captured by sensors with the explanation between CCD and CMOS sensors. The history of spectrometer also includes plus the motivation and the reason why people are keeping doing that.