Capnography is mainly used to monitor CO2 levels while patients are under anesthesia; however, it is becoming more widely used to determine respiratory conditions in other situations as well.