The reason why people in early farming communities able to do various kinds of work is because there was a surplus of food--meaning that while certain people were responsible for farming and growing food to eat, other people could apply their attention elsewhere, to other skills that benefitted the community.