What is the role of ATP synthase in photosynthesis?
A. It produces glucose from carbon dioxide.
B. It produces ADP molecules from NADP molecules.
C. It gives energy to electrons in the thylakoid.
D. It allows hydrogen ions out of the thylakoid.