The riddle
Why Did the Donut Go to the Dentist?
AnswerIt needed a filling
Two kinds of filling
A filling is something put inside. A donut can have one, and so can a tooth. The riddle picks the dentist's meaning for the question and then suggests the donut has the snack meaning.
Which spelling to use
Donut and doughnut are two spellings of the same word. The riddle uses the short one, and either spelling gives the same answer when it is read aloud.