Chemiosmosis is the movement of hydrogen ions to provide energy to make ATP.
In the mitochondria the centar part is postively charged making the the
external negatively charged. This caused more postive charged ions to be attracted to the negative ions causing the mitochondria
to have more gradients making more energy for ATP.
In photosynthesis the thylakoid membrane is similar to the mitochondria
because ions get pumped into the membrane to create a high concentration gradient. The diffusion of the thylakoid helped provide
the energy for chemiosmosis.