In acidic drinks like sodas and fruit juices, sodium benzoate is an antimicrobial preservative and flavoring agent that can inhibit the growth of bacteria, mold and yeast. It is found naturally in cranberries, prunes, apples and some spices. Sodium benzoate can also be used to lubricate pills and tablets for medicines.