Lemma (universal property of group presentations)
For any group $H$ and group presentation $\langle S \mid R\rangle$, $$ \begin{align*} \set{\text{group homomorphisms } \langle S\mid R\rangle \to H} &\to \sb{\text{functions }ϕ: S\to H}{\varphi(r)=1 \;\forall r\in R} \\ ψ &\mapsto ψ \circ q \circ ι \end{align*} $$ is a bijection, where $q: F(S) \to \langle S\mid R\rangle$ is the quotient map and $\varphi: F(S)\to H$ is given by the universal property of free groups.
That is, for any (set) function $ϕ: S\to H$ such that $ϕ(s_1)^{ε_1} \ldots ϕ(s_n)^{ε_n} = 1$ for all $(s_1^{ε_1}, \ldots, s_n^{ε_n})\in R$, there exists a unique group homomorphism $ψ: \langle S\mid R\rangle\to H$ such that this diagram commutes:
Any group $G$ has a canonical presentation: the identity $\id_G: G\to G$ induces a surjective homomorphism $\varphi : F(G) \to G$. This further induces $ψ: \langle G\mid \ker \varphi\rangle \to G$, which is an isomorphism by the first isomorphism theorem.