A dental filling is used to replace missing or damaged tooth structure. Tooth decay leads to the formation of a cavity, which is then filled. Many materials are used to fill teeth. The two most common are tooth colored composite materials and metallic amalgam.