This is the reason closed environments (e.g., space vehicles, submursibles, rebreathers) have CO2 scrubbers.