Photosynthesis

The light reactions use light to split water and make ATP and NADPH, and the Calvin cycle spends them to build sugar from carbon dioxide, at a cost of nine ATP and six NADPH for each three-carbon sugar.

From Biology.