Plants use photosynthesis to capture carbon dioxide and then release half of it into the atmosphere through respiration.
Hope this helps