Answer:
Bacteria are unable to grow in acidic environment. Therefore, citric acid preserves the food from bacteria and longer the shelf life of the food.
Acids that are used to protect food:
Maleic acid , acetic acid (also known as vinegar ) , citric acid , tartaric acid , bezonzoic acid , Sorbic acid , potassium Sorbates , ascorbic acid and Formic acid are some of the acids that are used to preserve foods.
Hope it helps!