I've found few different formulations for Van-Kampen's theorem the first of which states that if $X = A \cup B$ where $A$ and $B$ are path-connected, contain the basepoint $x_0$ and $A \cap B$ is path-connected then $$\pi_1(X) \cong \pi_1(A) \ast \pi_1(B)/N$$ where $N$ is the smallest normal subgroup of $\pi_1(A) \ast \pi_1(B)$ with the identification $\iota_1([\gamma])=\iota_2([\gamma])$ for $\gamma \in A \cap B$ and $\iota_1: \pi_1(A \cap B) \to \pi_1(A), \iota_2:\pi(A \cap B) \to \pi_1(B)$.
The second one is done with amalgamation which is essentially the same thing, but they just denote $\pi_1(X) \cong \pi_1(A) \ast \pi_1(B)/N$ as $\pi_1(X) \cong \pi_1(A) \ast_{\pi(A \cap B)} \pi_1(B)$.
My question is why do we need this normal subgroup $N$ here at all? And why do we require it to be the smallest one? I see that we want to identify the loops in $\pi_1(A \cap B)$ which are sent by the inclusions $\iota_1$ and $\iota_2$ to $\pi_1(A)$ and $\pi_1(B)$, but why do we want to do this kind of thing?
