The history of agriculture records the domestication of plants and animals and the development and dissemination of techniques for raising them productively. Agriculture began independently in different parts of the globe, and included a diverse range of taxa. At least eleven separate regions of the Old and New World were involved as independent centers of origin.
Scholars have developed a number of hypotheses to explain the historical origins of agriculture.
Wild grains were collected and eaten from at least 105,000 BP. However, domestication did not occur until much later. Starting from around 9500 BC, the eight Neolithic founder crops – emmer wheat, einkorn wheat, hulled barley, peas, lentils, bitter vetch, chick peas, and flax – were cultivated in the Levant. Rye may have been cultivated earlier but this remains controversial. Rice was domesticated in China by 6200 BC with earliest known cultivation from 5700 BC, followed by mung, soy and azuki beans. Pigs were domesticated in Mesopotamia around 11,000 BC, followed by sheep between 11,000 BC and 9000 BC. Cattle were domesticated from the wild aurochs in the areas of modern Turkey and Pakistan around 8500 BC. Sugarcane and some root vegetables were domesticated in New Guinea around 7000 BC. Sorghum was domesticated in the Sahel region of Africa by 3000 BC. In the Andes of South America, the potato was domesticated between 8000 BC and 5000 BC, along with beans, coca, llamas, alpacas, and guinea pigs. Bananas were cultivated and hybridized in the same period in Papua New Guinea. In Mesoamerica, wild teosinte was domesticated to maize by 4000 BC. Cotton was domesticated in Peru by 3600 BC. Camels were domesticated late, perhaps around 3000 B
Agriculture began independently in different parts of the globe, and included a diverse range of taxa. At least 11 separate regions of the Old and New World were involved as independent centers of origin. Some of the earliest known domestications were of animals.
From the 8th century, the medieval Islamic world underwent a transformation in agricultural practice, described by the historian Andrew Watson as the Arab agricultural revolution. This transformation was driven by a number of factors including the diffusion of many crops and plants along Muslim trade routes, the spread of more advanced farming techniques, and an agricultural-economic system which promoted increased yields and efficiency. The shift in agricultural practice changed the economy, population distribution, vegetation cover, agricultural production, population levels, urban growth, the distribution of the labour force, cooking, diet, and clothing across the Islamic world. Muslim traders covered much of the , and trade enabled the diffusion of many crops, plants and farming techniques across the region, as well as the adaptation of crops, plants and techniques from beyond the Islamic world. This diffusion introduced major crops to Europe by way of Al-Andalus, along with the techniques for their cultivation and cuisine. Sugar cane, rice, and cotton were among the major crops transferred, along with citrus and other fruit trees, nut trees, vegetables such as aubergine, spinach and chard, and the use of spices such as cumin, coriander, nutmeg and cinnamon. Intensive irrigation, crop rotation, and agricultural manuals were widely adopted. Irrigation, partly based on Roman technology, made use of noria water wheels, water mills, dams and reservoirs.