The short answer
Mesopotamia left a lasting mark on record-keeping, law, mathematics, astronomy and literature. Some of its ideas still shape daily life, such as how we measure time and angles. Much of its influence reached later peoples through borrowing and adaptation rather than a single direct line.
What did the Sumerians invent?
Writing is usually the first answer, and it is a good place to start. Lists of Sumerian and Mesopotamian inventions often add the base-60 number system and large-scale irrigation. Some lists also include the wheel. Scholars are careful with such lists, because many ideas developed gradually across several regions, and credit is hard to assign to one people.
Time, angles and base-60 math
The base-60 system, called sexagesimal, survives in the 60 minutes in an hour, the 60 seconds in a minute and the 360 degrees in a circle. Babylonian astronomers are usually credited with the full circle. Why 60? The reasons are not certain. One suggestion is that 60 has many divisors, which made some calculations easier.
Mathematics on clay
Scribes wrote tables for multiplication and reciprocals, which helped with division. They also worked out approximations of square roots. One well-known tablet, Plimpton 322, lists numbers that match right triangles. Scholars still debate why it was written.
Law and justice
Mesopotamian rulers issued law collections, including the code of Ur-Nammu around 2100 BCE and the Code of Hammurabi around 1750 BCE. The Code of Hammurabi survives in copies from several cities, which suggests it was studied for a long time. These collections were not complete legal systems, but they show how rulers used writing to state rules and present themselves as just.
Stories that traveled
Scribes copied literature for centuries. Fragments of the Epic of Gilgamesh have turned up far from Mesopotamia, including in the Hittite capital and elsewhere in the Levant. That shows how Mesopotamian stories could travel along with the scribes who copied them.
Akkadian as a shared language
Akkadian served as a shared language of diplomacy in the Late Bronze Age. The Amarna letters, exchanged between Egypt and rulers across the Near East in the 14th century BCE, were written in Akkadian cuneiform. In that sense, Mesopotamian writing became the common tongue of rulers far from its homeland.
Astronomy and the sky
Babylonian astronomers recorded the movements of the planets and the moon and noted eclipses over long periods. Later Greek astronomers drew on those records. The habit of careful, long-term observation is one of the less visible parts of the legacy.
Why is Mesopotamia so important?
Historians often point to three things. Mesopotamia was an early center of urban life, it produced some of the first known writing, and its ideas traveled to later peoples through trade, conquest and scholarship. These claims are well supported. Mesopotamia was one of several early centers of civilization, though, and the wider world was shaped by many regions.