plants clean up the atmosphere by taking in carbon dioxide and giving out oxygen