Dental fillings are used to restore teeth damaged by decay, helping to rebuild their shape, strength, and normal function.