The purpose of restorative dentistry is to restore function, while the purpose of cosmetic dentistry is to improve visual appearance. Restorative dental treatments focus on restoring decayed, damaged, or missing teeth in order to maintain proper function and oral health.