White fillings or dental bonding are made directly in the mouth where the dentist uses a composite material and a special type of lamp to promote adhesion and hardening of the material into the tooth.
Technically, this type of filling is known as composite filling, and today this type of restoration is vastly used in dentistry replacing the amalgam (mixture of silver and mercury) that for more than one hundred years was the only type of material available for use by dental professionals.
Amalgam remains a material approved by the American Dental Association. However, in many countries of Europe and in the Canada they have banned Amalgam from the dentistry market because of the mercury contained in this type of filling.
The Composite material has evolved over time and nowadays it can replace the amalgam fillings safety and with cosmetic advantages.