How did the donut get its name?

As it looks like the balls of sweetened dough, fried in hog's fat andso, it is called donut.
Because donut is made up of dough and shaped like a nut its called Donut