oxygen is an atom though, and can't be destroyed, only recycled
co2 is not so permanent, being a molecule
Plants produce CO2 (Carbon dioxide) all the time as a metabolic product of respiration, but when light is available, they can use and fix some of this CO2 as a substrate in photosynthesis...