text: The light reactions of photosynthesis generate ATP by the action of chemiosmosis. The photons in sunlight are received by the antenna complex of Photosystem II, which excites electrons to a higher energy level. These electrons travel down an electron transport chain, causing protons to be actively pumped across the thylakoid membrane into the thylakoid lumen. These protons then flow down their electrochemical potential gradient through an enzyme called ATP-synthase, creating ATP by the phosphorylation of ADP to ATP. The electrons from the initial light reaction reach Photosystem I, then are raised to a higher energy level by light energy and then received by an electron acceptor and reduce NADP to NADPH. The electrons lost from Photosystem II get replaced by the oxidation of water, which is "split" into protons and oxygen by the oxygen-evolving complex (OEC, also known as WOC, or the water-oxidizing complex).  To generate one molecule of diatomic oxygen, 10 photons must be absorbed by Photosystems I and II, four electrons must move through the two photosystems, and 2 NADPH are generated (later used for carbon dioxide fixation in the Calvin Cycle).