Bacteria, specifically lactic acid bacteria like Lactobacillus, ferment the lactose in milk into lactic acid. This acid lowers the pH, causing the milk proteins to coagulate and thicken into yogurt. Yeast, algae, and phytoplankton do not perform this specific fermentation process for yogurt production.