Tooth decay happens when bacteria in your mouth consume the sugars we eat. When you eat food containing ordinary sugar (sucrose), it gives bacteria on your teeth energy, allowing them to multiply and start making acids that can eat away the enamel on the teeth. This “acid attack” causes tooth decay and cavities to begin to form.