Fermentation is used to preserve foods like pickles, sauerkraut, bread, vinegar and idli. The process involves lactic acid bacteria like Lactobacillus and Leuconostoc which convert sugars into lactic acid, lowering the pH and preventing spoilage. For pickles, cucumbers are placed in brine and the acidity produced during fermentation preserves them. Sauerkraut is made by a similar fermentation of cabbage. Yeast is used in bread making to produce carbon dioxide which leavens the dough. Vinegar is produced through further fermentation of ethanol by acetic acid bacteria. Idli batter involves fermenting rice and black lentils before steaming the c