12H2S + 6CO2 → C6H12O6 + 6H20 + 12S The chemical formula above shows how chemosynthetic bacteria produce energy. During chemosynthesis __________ combines with carbon dioxide to produce usable chemical energy.