A filling is a simple repair for a cavity in a tooth. It fills the hole. It keeps bacteria from entering your tooth and causing more decay. Let's look at a few types of dental fillings.