Cavities are a bacterial infection created by acids, that cause your teeth to experience a hole in them. Without treatment, cavities can progress past the enamel and into the deeper layers of the tooth, causing pain and possible tooth loss. A Constant Battle in the Mouth Your teeth are frequently under attack by acids, but the good news is this damage is constantly being reversed.