The overall function of light-dependent reactions, the first stage of photosynthesis, is to convert solar energy into chemical energy in the form of NADPH and ATP, which are used in light-independent reactions and fuel the assembly of sugar molecules. Protein complexes and pigment molecules work together to produce NADPH and ATP.