Before the Classical era (c. 1750–1820), dynamics were implied—left to performer's taste. Haydn, Mozart, and Beethoven changed that by notating volume changes precisely.
Composers could now sculpt drama measure by measure—surprise (Haydn's "Surprise" Symphony), tension/release (Mozart's piano concertos), structural pillars (Beethoven's symphonic arches). Performers gained a shared language. The score became a complete instruction set.
This standardization enabled the expressive range of 19th-century Romanticism and everything after. We still use these marks today.