plants can take carbon dioxide from the air and use photosynthesis to produce oxygen