A carbon dioxide sensor or CO2 sensor is an instrument for the measurement of carbon dioxide gas. The most common principles for CO2 sensors are infrared gas sensors (NDIR) and chemical gas sensors. Measuring carbon dioxide is important in monitoring indoor air quality,[1] the function of the lungs in the form of a capnograph device, and many industrial processes.