The history of the world (or world history) describes the history of humanity (or human history) as determined by the study of archaeological and written records. Ancient recorded history begins with the invention of writing. However, the roots of civilization reach back to the earliest introduction of primitive technology and culture. Prehistory begins in the Paleolithic Era, or "Early Stone Age," which is followed by the Neolithic Era, or New Stone Age, and the Agricultural Revolution (between 8000 and 5000 BCE) in the Fertile Crescent. The latter period marked a change in human history, as humans began the systematic husbandry of plants and animals. Agriculture advanced, and most humans transitioned from a nomadic to a settled lifestyle as farmers in permanent settlements. Nomadism continued in some locations, especially in isolated regions with few domesticable plant species; but the relative security and increased productivity provided by farming allowed human communities to expand into increasingly larger units, fostered by advances in transportation.
As farming developed, grain agriculture became more sophisticated and prompted a division of labour to store food between growing seasons. Labour divisions then led to the rise of a leisured upper class and the development of cities. The growing complexity of human societies necessitated systems of writing and accounting. Many cities developed on the banks of lakes and rivers; as early as 3000 BCE some of the first prominent, well-developed settlements had arisen in Mesopotamia ("the Land between the Rivers"), on the banks of Egypt's Nile River, in the Indus River valley, and along the major rivers of China.