Restorative dentistry focuses on restoring the function and health of teeth damaged by decay, trauma, or other factors. Cosmetic dentistry, on the other hand, is primarily concerned with improving the appearance of teeth, although many cosmetic procedures also have restorative benefits.