Which substance made during photosynthesis is an energy carrier during the process?

A. ATP

B. C6H12O6

C. O2

D. H2O