Foods that are highly acidic tend to inhibit bacteria growth. Many times, bacteria do not acclimate well to acidic environments, so having a food with a very low pH will help to make sure that the bacteria can't thrive in such an environment. Fruits and vegetables are good examples of these types of food.