In photosynthesis, the light-dependent reaction takes place on the thylakoid membranes. The inside of the thylakoid membrane is called the lumen, and outside the thylakoid membrane is the stroma, where the light-independent reactions take place. The thylakoid membrane contains some integral membrane protein complexes that catalyze the light reactions. There are four major protein complexes in the thylakoid membrane: Photosystem II (PSII), , Photosystem I (PSI), and ATP synthase. These four complexes work together to ultimately create the products ATP and NADPH.
The two photosystems absorb light energy through pigments—primarily the chlorophylls, which are responsible for the green color of leaves. The light-dependent reactions begin in photosystem II. When a chlorophyll a molecule within the reaction center of PSII absorbs a photon, an electron in this molecule attains a higher energy level. Because this state of an electron is very unstable, the electron is transferred from one to another molecule creating a chain of redox reactions, called an electron transport chain (ETC). The electron flow goes from PSII to cytochrome b6f to PSI. In PSI, the electron gets the energy from another photon. The final electron acceptor is NADP. In oxygenic photosynthesis, the first electron donor is water, creating oxygen as a waste product. In anoxygenic photosynthesis various electron donors are used.