Tooth decay is the destruction of hard tooth structure by bacterial by-products. Plaque, a sticky film by-product of bacteria, constantly forms on your teeth. When you eat or drink foods containing sugars, the bacteria in plaque produce acids that attack tooth enamel. The stickiness of the plaque keeps these acids in contact with your teeth and over time the tooth can break down. This is when cavities can form.