What is the role of photosynthesis in the carbon cycle?

A. It adds carbon dioxide to water.
B. It removes carbon dioxide from plants .
C. It adds carbon dioxide to the atmosphere
D. It removes carbon dioxide from the atmosphere.