History of agriculture
Wild grains were collected and eaten from at least 20,000 BC. 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 5000 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 BC.
Vegetable
Before the advent of agriculture, humans were hunter-gatherers. They foraged for edible fruit, nuts, stems, leaves, corms, and tubers, scavenged for dead animals and hunted living ones for food. Forest gardening in a tropical jungle clearing is thought to be the first example of agriculture; useful plant species were identified and encouraged to grow while undesirable species were removed. Plant breeding through the selection of strains with desirable traits such as large fruit and vigorous growth soon followed. While the first evidence for the domestication of grasses such as wheat and barley has been found in the Fertile Crescent in the Middle East, it is likely that various peoples around the world started growing crops in the period 10,000 BC to 7,000 BC. Subsistence agriculture continues to this day, with many rural farmers in Africa, Asia, South America, and elsewhere using their plots of land to produce enough food for their families, while any surplus produce is used for exchange for other goods.