Seal sugar away from oxygen and hand it to microbes, and they do something remarkable: they keep eating. Starved of air, yeast turns sugar into alcohol and fizzing CO₂ — the engine behind beer, wine and rising bread — while lactic-acid bacteria turn it into tangy acid that sours and preserves yogurt, sauerkraut, kimchi and sourdough. Scroll through to watch the chemistry, see why it keeps food from spoiling, and meet the microbes humans have quietly farmed for thousands of years.
Pick a culture and feed it sugar. With no oxygen to breathe, the microbes ferment instead. Yeast splits sugar into ethanol + CO₂ (the bubbles you see); Lactobacillus turns it into lactic acid, which drops the pH and makes things sour. Drag the sugar slider and watch the meters: sugar falls as alcohol or acid rises, and the pH only moves for the bacteria.
The acid or alcohol the microbes make is a weapon: it crowds out spoilage bacteria and moulds that can't tolerate it, so the food keeps for months without a fridge — and the byproducts (acids, esters, CO₂) build the tangy, complex flavours we prize. But it isn't unlimited. Cold slows the culture to a crawl; warmth speeds it up. And yeast eventually poisons itself — once alcohol passes its tolerance ceiling (~14%) the yeast stalls and fermentation stops.
Cells normally burn sugar with oxygen (aerobic respiration) for lots of energy. Take the oxygen away and many microbes switch to fermentation — a low-oxygen ("anaerobic") shortcut that releases far less energy but lets them keep living off sugar. There are two famous routes:
Run mainly by yeast (Saccharomyces). Sugar becomes ethanol and carbon dioxide gas:
C₆H₁₂O₆ → 2 C₂H₅OH + 2 CO₂The alcohol makes beer and wine; the CO₂ inflates bread dough and carbonates drinks.
Run by Lactobacillus & relatives. Sugar becomes lactic acid — no alcohol, no gas:
C₆H₁₂O₆ → 2 CH₃CHOHCOOH (lactic acid)The acid drops the pH, giving the tang of yogurt, sauerkraut, kimchi and sourdough.
Both make the food inhospitable to the microbes that would otherwise rot it — which is why fermentation was humanity's refrigerator for millennia. Long before anyone knew microbes existed, people the world over were fermenting:
Related: how the same CO₂ makes bread rise → · browning & flavour from heat →