Dental fillings are used to fill the hole created when a dentist treats a cavity in the patient's tooth. Cavities are caused by break down in tooth enamel that allows bacteria to enter and damage the tooth. This can cause pain and discomfort for the patient and if not treated, could cause severe damage to the tooth.