Why do donuts have hole in the middle?

Not all donuts have holes in the middle. But for those that do, it is possible they have them so that they can be easier pulled from a pot or vat; one story by a claimant to their supposed inventor is that the middles were always raw, and he did not like that part, so he would punch them out with a piece of metal.