When it may be appropriate
Best suited to decay caught while it's still contained.
A filling tends to be the right tool when decay or minor damage is limited enough that a good amount of healthy tooth structure remains. Catching a cavity earlier generally means a smaller area needs to be treated — one more reason regular exams matter, beyond comfort.
Not every cavity only needs a filling. When decay is extensive, a crack runs deep, or too little healthy structure remains to support a filling, a crown may be the more durable answer. If the pulp inside the tooth is infected or significantly inflamed, root canal treatment may need to be considered before the tooth is restored. Which category a tooth falls into is something the dentist determines after actually examining it.