Bacteria in the anode of a microbial fuel cell convert organic substrates like glucose into electrons, protons, and carbon dioxide. The electrons flow through an electrical circuit to power a load while the protons flow through an exchange membrane to the cathode. At the cathode, the protons and electrons recombine and oxygen is reduced to water. Key components include the anode where bacteria live, a cathode, an exchange membrane, and an electrical circuit connecting the anode and cathode. Microbial fuel cells operate at mild temperatures and can be used to generate electricity from wastewater while also producing clean water or fertilizer.