Avgas is sterile when first produced because of the high refinery processing temperatures. But it becomes contaminated with microorganisms that are always present in air and water. These include bacteria and fungi (yeasts and molds). The solids formed by biogrowth are very effective at plugging fuel filters. Some microorganisms also generate acidic by-products that can accelerate metal corrosion.
Since most microorganisms need free water to grow, biogrowth is usually concentrated at the fuel-water interface, when one exists. Some organisms need air to grow (aerobic organisms), while others grow only in the absence of air (anaerobic organisms). In addition to food (fuel) and water, microorganisms also need certain elemental nutrients. Phosphorus is the only one whose concentration might be low enough to limit biogrowth. Higher ambient temperatures also favor biogrowth.
Microbial contamination of avgas is less common than in other petroleum products, presumably due to the toxicity of tetraethyl lead, but it does occur. The best approach to microbial contamination is prevention. And the most important preventive step is keeping the amount of water in the fuel storage tank as low as possible. No additives are approved as biocides in the major avgas specifications.