Dental Fillings

What is the purpose of a dental filling?