Microbial fuel cells generate electricity through the metabolism of microbes. The microbes oxidize organic matter at the anode, releasing electrons and protons. Electrons flow through an external circuit to the cathode, producing an electrical current. Protons flow through a membrane to the cathode. At the cathode, oxygen or another electron acceptor reacts with the electrons and protons to form water. This document discusses the operating mechanisms and conditions that affect power generation in microbial fuel cells, such as microbe type, substrate concentration, ionic strength, membrane type, pH, temperature, and reactor configuration. It also describes an experiment using effluent water from a pharmaceutical industry to power a microbial fuel cell without additional substrate or membrane.