What is the primary purpose of getting a cavity filled in dental treatment?
A) To whiten the teeth
B) To replace a missing tooth
C) To restore a tooth damaged by decay and prevent further damage
D) To straighten misaligned teeth