Inside the thylakoid disk of a chloroplast, the light reactions split water to replace excited electrons captured by chlorophyll a and other pigments. These electrons are set flowing down a transport chain to produce NADPH. The buildup of hydrogen ions increases potential energy which drives ATP synthesase to produce ATP. NADPH and ATP drive the Calvin cycle to complete photosynthesis.