When the Dentist performs a restoration, they remove the cavity area, by cleaning the affected area and then filling that cavity with a restoring material.
The materials for restorations can be gold, porcelain, compound resins (with different tones) and the amalgam (a mixture of mercury, silver, copper, tin and sometimes zinc).