Photosynthesis has two stages: (1) the light-dependent stage where chloroplasts use light energy to produce ATP and NADPH, and (2) the light-independent stage where carbon dioxide is fixed into carbohydrates using ATP and NADPH. During the light-dependent stage, light is absorbed by chlorophyll, electrons are transferred through an electron transport chain to produce ATP, and water is split to provide electrons that reduce NADP to NADPH. The light-independent stage can continue in the dark using ATP and NADPH to reduce carbon dioxide into carbohydrates like glucose.