A cavity is a hole that forms when acids in the mouth slowly eat away at the hard outer layers of the tooth. Cavities are also known as dental caries or tooth decay. Cavities can grow bigger and deeper over time, and if left untreated, can eventually reach the soft inner part of the tooth, which contains sensitive nerves. This can cause a toothache and a serious infection that requires a root canal. Yikes!