If \(\varphi \colon (X, x_0) \to (Y, y_0)\) is a based map, define
\begin{equation*}
\varphi_* \colon \pi_n(X, x_0) \to \pi_n(Y, y_0), \qquad [f] \mapsto [\varphi \circ f].
\end{equation*}
This is a well-defined group homomorphism. It is straightforward to verify that \((\mathrm{Id}_{(X, x_0)})_* = \mathrm{Id}_{\pi_n(X, x_0)}\) and \((\varphi \circ \psi)_* = \varphi_* \circ \psi_*\text{.}\)