The Neolithic Revolution, also known as the Agricultural Revolution, occurred about 12,000 years ago. For those, like me, who are not the best at math, that is around 10,000 BCE. There was a global trend away from nomadic hunting and gathering and towards sedentary farming. It appears to have arisen independently in multiple places in the Middle East, as well as in China and Papua New Guinea. Egypt and the Indus River Valley may have independently developed agriculture as well, or gotten the idea and the seeds from the Middle East or China.
Cereals, like barley in the Middle East and rice in China, were likely the first to be domesticated, eventually supplemented by protein-rice plants like peas and lentils. As people began to settle down they also domesticated animals. The earliest archaeological evidence of sheep and goat herding comes from around 10,000 BCE in the Iraq and Anatolia. Animals could be used as labor in the fields, or as sources of additional nutrients and calories to supplement the new cereal-heavy diet.
The Neolithic Revolution did not happen everywhere, and not all at once. And there remain a variety of hypotheses as to why humans stopped foraging and started farming. Population pressure may have caused increased competition for food and the need to cultivate new foods; people may have shifted to farming in order to involve elders and children in food production; humans may have learned to depend on plants they modified in early domestication attempts and in turn, those plants may have become dependent on humans. Whatever the reason, the Neolithic Revolution changed humanity – and our world – for good.