Human history or world history is the record of humankind from prehistory to the present. Modern humans evolved in Africa around 300,000 years ago and initially lived as hunter-gatherers. They migrated out of Africa during the Last Ice Age and had spread to every continent except Antarctica by the end of the Ice Age 12,000 years ago. Soon afterward, the Neolithic Revolution in West Asia brought the first systematic husbandry of plants and animals, and saw many humans transition from nomadic lives to sedentary existences as farmers in permanent settlements. The growing complexity of human societies necessitated systems of accounting and writing.
These developments paved the way for the emergence of early civilizations in Mesopotamia, Egypt, Peru, the Indus Valley, and China, marking the beginning of the ancient period in the 4th millenium BCE. These civilizations enabled the establishment of regional empires and provided fertile ground for the advent of transformative philosophical and religious ideas. Hinduism originated during the late Bronze Age and was followed by the many seminal belief systems of the Axial Age: Buddhism, Confucianism, Greek philosophy, Jainism, Judaism, Taoism, and Zoroastrianism. Christianity began later as an offshoot of Judaism. The subsequent post-classical period, from about 500 to 1500 CE, witnessed the rise of Islam and China's flourishing under the Tang and Song dynasties while civilization expanded to new parts of the world and trade between societies increased. The political landscape was shaped by the rise and fall of major empires, such as the Byzantine Empire, the Islamic caliphates, and the Mongol Empire. This period's invention of gunpowder and the printing press greatly affected later history.