Primary purpose: document economic exchanges (trade, taxes, temple offerings) accurately and durably to facilitate commerce and accountability.
Enabled management of city-states: laws, regulations, census data, and record-keeping for governance.
Created epics like Gilgamesh, preserving cultural beliefs, religion, mythology, and daily life for posterity.
Recorded observations in astronomy, mathematics, and medicine, allowing knowledge accumulation across generations.
Allowed complex ideas, stories, and correspondence to be conveyed in writing, enriching culture and enabling long-distance communication.
Writing began as a practical tool for accounting (cuneiform tokens/tablets) and evolved into a full script capable of expressing the full range of human thought.