Back in the 'stone age' when schools actually taught 'science', it was agreed that plants needed CO2 and gave off oxygen. Then it was agreed that people needed oxygen and gave off CO2.
I know that is a simple explanation, but does anyone see a symbiotic relationship there?