CO2 sensors work