For NDIR Gas analyzer, the main components are an infrared source (lamp), a sample chamber or light tube, a wavelength…