In the history of art, prehistoric art is all art produced in preliterate, prehistorical cultures beginning somewhere in very late geological history, and generally continuing until that culture either develops writing or other methods of record-keeping, or makes significant contact with another culture that has, and that makes some record of major historical events. At this point ancient art begins, for the older literate cultures. The end-date for what is covered by the term thus varies greatly between different parts of the world.
The very earliest human artifacts showing evidence of workmanship with an artistic purpose are the subject of some debate; it is clear that such workmanship existed by 40,000 years ago in the Upper Paleolithic era, however there is evidence of artistic activity dating as far back as 500,000 years ago performed by Homo erectus. From the Upper Palaeolithic through the Mesolithic, cave paintings and portable art such as figurines and beads predominated, with decorative figured workings also seen on some utilitarian objects. In the Neolithic evidence of early pottery appeared, as did sculpture and the construction of megaliths. Early rock art also first appeared in the Neolithic. The advent of metalworking in the Bronze Age brought additional media available for use in making art, an increase in stylistic diversity, and the creation of objects that did not have any obvious function other than art. It also saw the development in some areas of artisans, a class of people specializing in the production of art, as well as early writing systems. By the Iron Age, civilizations with writing had arisen from Ancient Egypt to Ancient China.