The nut with no shell

Riddle:

What kind of nut has no shell?

Answer:

Answer: A doughnut. Explanation: The word “nut” is part of the name, but a doughnut is a pastry and has no shell. The riddle uses a misleading word association.