Though microbes can be found in the mouth, sugary food items can cause them to grow. Cavities result from an increase in the amount of bacteria. Bacteria produce acid out of sugar which causes enamel to dissolve slowly. This can be prevented by cutting down on the sugar content in your diet and brushing following meals. iiqqseiems.