what process do plants use to recycle carbon compounds in the air to make energy and emit oxygen as a by-product​