Metal filling

What is a metal filling and why do we still do them?