Before we dive into how fluoride prevents cavities, let’s understand what cavities are. Cavities, also known as dental caries or tooth decay, are holes in the teeth caused by the bacteria in your mouth. These bacteria feed on sugars and starches from the food you eat, producing acids that attack tooth enamel, the hard, outer surface of your teeth. Over time, this acid can create tiny holes or cavities in the enamel.