While eating sugary foods can definitely lead to the development of cavities, it is the bacteria in your mouth that actually causes the damage. The bacteria utilize sugars to produce acids that begin to decay and degrade the surface of the teeth. Sticky foods and those high in carbohydrates also help to feed these bacteria. Consuming acidic foods and beverages can also erode teeth and lead to the formation of a cavity. Sugar-free beverages can still lead to decay due to high amounts of acid, so be sure to choose water whenever possible.
Because there is not always pain associated with the onset of a cavity, you may not be aware that you are suffering from tooth decay. By the time you feel any pain, your tooth has sustained severe damage. When damage reaches the soft tissues inside of the teeth, you may need to seek treatment from an endodontist.
Preventative dentistry is vital. Clean your teeth and gums daily, and see your dental care provider twice a year, or as recommended, for a healthier mouth.