a cavity is used for seeing a dentist because you have a rotten tooth.