Chemiosmosis is the diffusion of ions across a selectively-permeable membrane. More specifically, it relates to the generation of ATP by the movement of hydrogen ions across a membrane during cellular respiration. Hydrogen ions (protons) will diffuse from an area of high proton concentration to an area of lower proton concentration.