A dental cavity is a hole in a tooth caused by decay from bacteria and acids. It may cause pain, sensitivity, or bad breath, and it gets worse if not treated. Dentists fix cavities with fillings, crowns, or other care to restore the tooth.