Photosynthesis plays a major role in the atmospheric carbon cycle, because of carbon fixation.

The Carbon Cycle illustrates carbon sequestration and release between various carbon sinks.
Projection of atmospheric CO2 accumulation without reduction of fossil fuel reduction by NASA.