Sodium benzoate inhibits the growth of potentially harmful bacteria, mold, and other microbes in food, thus deterring spoilage. It's particularly effective in acidic foods ( 6 ). Therefore, it's commonly used in foods, such as soda, bottled lemon juice, pickles, jelly, salad dressing, soy sauce, and other condiments.