Capnography involves the use of a capnograph machine and a specialized sensor placed in the respiratory circuit. This sensor detects the CO2 concentration in each breath and generates a capnogram. The capnogram provides valuable information, including _end-tidal CO2_ (ETCO2), which represents the maximum expired CO2 concentration, and the shape of the waveform, which can indicate various respiratory issues.