Why donuts have holes?

Donuts have holes to help cook/bake the entire food item evenly