Cavities are small gaps or holes in the hard surface of the tooth that is damaged beyond repair.