A doughnut factory is producing glazed sugar doughnuts.
A machine with cooked donuts moving about. 
A machine with donuts coming out of it.
Doughnuts are coming out of an industrial doughnut fryer. 
Pastries come out of the oven onto the grid racks at the bakery.