How might a surplus of food have helped civilizations advance from hunter-gatherer societies?

A.A surplus of food allowed people to move to new homes more often.
B.A surplus of food allowed people to specialize in different jobs.
C.A surplus of food allowed people to hunt large animals more easily.
D.A surplus of food allowed more people to become successful farmers.