A proton gradient is a difference in the concentration of hydrogen ions (protons) across a membrane, typically the inner membrane of a mitochondrion or the thylakoid membrane of a chloroplast. This gradient is an essential component of the chemiosmotic process, which is the primary mechanism of ATP synthesis in cellular respiration and photosynthesis.