A major function of the thylakoid membrane and its integral photosystems is the establishment of chemiosmotic potential. The carriers in the electron transport chain use some of the electron's energy to actively transport protons from the stroma to the lumen. During photosynthesis, the lumen becomes acidic, as low as pH 4, compared to pH 8 in the stroma. This represents a 10,000 fold concentration gradient for protons across the thylakoid membrane.