Answer :

it was a transition from nomadic groups that hunted and  gathered to live who which later discovered agriculture and started forming civilizations. it was not sudden, it took time