The flow of H+ through the ATP synthase complex causes the rotor and attached rod to rotate, exposing catalytic sites in the knob portion that produce ATP from ADP and phosphate.
ATP synthases are found in the inner mitochondrial membrane, the plasma membrane of prokaryotes, and membranes within chloroplasts.