what ions get pumped into the thylakoid
This is called the electron transport chain. As the molecules pass the electron they pump hydrogen ions from one side of the membrane to the other. The high concentration of hydrogen ions pumped into the inner thylakoid space (the thylakoid lumen) can then be used to make ATP by a process called chemiosmosis. The electron finally gets dumped on the molecule NADP (Nicotinamide adenine dinucleotide phosphate) changing that molecule into NADPH.