Proposition (based maps descend to homomorphisms between fundamental groups)

For any based map $f: (X, x_0) \to (Y, y_0)$, there is a well-defined group homomorphism on fundamental groups $$ \begin{align*} f_\ast \equiv π_1(f) : π_1(X, x_0) &\to π_1(Y, y_0) \\ [γ] &\mapsto [f\circ γ]. \end{align*} $$ (Proof)

In fact $π_1$ is a functor from the homotopy category of based space to the category of groups, namely