In Algebra: Chapter 0, one learns two definitions of free groups associating with sets.
Let $A$ be a set, the free group of $A$, $F(A)$ is the initial object in the category $\mathcal{C}$, where \begin{equation} \operatorname{Obj}(\mathcal{C})=\{A\xrightarrow{g}G\}, \end{equation}where the codomain $G$ are groups, and \begin{equation} \operatorname{Hom}(\mathcal{C})=\{\text{Commutative Diagrams } A\xrightarrow{g_1}G_1\xrightarrow{\phi}G_2\xleftarrow{g_2}A\} \end{equation} where $\phi$ are group homomorphisms.
Also $F(A)$ has the concrete construction with elements being non-redundant words with alphabet $A$, and the group multiplication being juxtaposition and reduction.
But what good are free groups? Why are they useful? Wikipedia says they are useful in topology, but does not explain why explicity.
Can someone give some examples that an undergraduate can understand? I am asking about examples that can show the usefulness of this abstract construction. So I guess the identification of $\mathbb{Z}=F({a})$ does not really count.
Usually, for algebraic structures,
If we are given abstractly operation symbols $\mu,\nu,+,\cdot,...$, and a positive number as the arity of the operation (e.g. '$+$' is a binary symbol), then one can define formal terms, built up by pregiven variables (associated to the elements of the given set $A$) and these operation symbols. Basically these terms are just 'strings' like $\mu(a+b,c\cdot d, e)$ if $\mu$ is ternary operation symbol.
The main thing is, that the set of terms naturally admits a structure of the given type, the operation symbols act just formally. And this is the free algebra of the given type.
If, in addition, some rules are present (axioms for the given structures, like associativity for groups) , then these rules should also be applied to the set of the terms, considering a quotient of it, e.g. where the strings $(a\cdot b)\cdot c$ and $a\cdot (b\cdot c)$ are identified with each other. (Hence, if associativity of the operation is imposed, it is enough to consider the finite sequences like $(a,b,c,a,a,c)$.)
So, free groups, in this sense, are so general, that every group is 'contained' (as a quotient) of them. On the other hand, every group can be embedded to a symmetric group. So, symmetric groups have similar important role (at least, in this view).
In topology, for example, the fundamental group of $n$ circles glued together at one point is the free group on $n$ generators.
Free groups also may provide easy counterexamples of statements like 'identities $P,Q$ on groups imply identity $R$'. If this is not true, then the quotient 'by $P$ and $Q$' of a suitable free group must be a counterexample.