Apparatus for filling pieces of dough such as doughnuts