A chemiosmotic gradient is formed by the difference in ion concentration and electrical charge across a membrane. In histological terms, this is most prominently observed in the mitochondria, where the inner mitochondrial membrane plays a crucial role. The process involves the movement of protons (H+) across the membrane, which generates an electrochemical gradient.