I understand what associativity is, and of course simple structures from elementary and high school mathematics like the natural numbers over addition are associative.
However, I think it would be clarifying to have an example of a mathematical structure that has almost no structure besides satisfying associativity, and that is also very simple.

If $X$ is any set, we can look at $$ \mathrm{Fun}(X) = \{f \mid f:X \to X\}. $$ This set is associative under composition. If $f,g,h \in \mathrm{Fun}(X)$, then $(f \circ g) \circ h = f \circ (g \circ h)$ because $$ ((f \circ g) \circ h)(x) = (f \circ g)(h(x)) = f(g(h(x))) = f((g \circ h)(x)) = f \circ (g \circ h)(x). $$ More generally, if you know what a homomorphism is, then you can also form $$ \mathrm{End}(X) = \{f\mid f:X \to X \text{ and $f$ is a homomorphism}\}. $$