The Infrared (IR) detection method is based upon the absorption of infrared radiation at specific wavelengths as it passes through…