Cavities are a common dental issue that leads to tooth decay and damage. A damaged tooth needs to be treated…