In photosynthesis, carbon dioxide is used to make sugars during

A. ATP formation.
B. the Calvin cycle.
C. the light-dependent reactions.
D. the electron transport chain.