Cuneiform is a type of writing system that was used in ancient Mesopotamia (present-day Iraq) and other neighboring regions such as Iran, Syria, and Turkey. It is one of the earliest known writing systems in the world, dating back to the 4th millennium BCE. The term cuneiform comes from the Latin word cuneus, meaning "wedge," as the script was written using a wedge-shaped stylus on clay tablets.