a bacterial ATPase lets protons under the proton motive force into the cytoplasm, using them to make ATP. So, though they don't have mitochondria, bacteria can generate energy through electrolysis and by generating a proton gradient across their cell membranes!