Agriculture is the science and art of cultivating plants and livestock. Agriculture was the key development in the rise of sedentary human civilization, whereby farming of domesticated species created food surpluses that enabled people to live in cities. The history of agriculture began thousands of years ago. Before agriculture became widespread, people spent most of their lives searching for food—hunting wild animals and gathering wild plants. About 11,500 years ago, people gradually learned how to grow cereal and root crops, and settled down to a life based on farming