The synthesis of glucose occurs during the light- independent reactions (Calvin cycle) of photosynthesis. To fix 6 molecules of CO2 and produce one molecule of glucose, the cycle consumes 18 molecules of ATP and 12 molecules of NADPH. These ATP and NADPH are produced during the light- dependent reactions.