It is known that a chain map $f_\bullet$ between chain complexes $(A_\bullet, d_{A,\bullet})$ and $(B_\bullet, d_{B,\bullet})$ induces a homomorphism $$(f_\bullet)_*: H_\bullet(A_\bullet)\to H_\bullet(B_\bullet).$$
(https://en.wikipedia.org/wiki/Chain_complex#Chain_maps)
The sources (Hatcher / wikipedia) I read do not explicitly mention how the homomorphism is induced, so I would like to confirm if my idea is correct?
For $\alpha+\text{Im}\,\partial_{A,n+1}\in H_n(A_\bullet)$,
$(f_n)_*(\alpha+\text{Im}\,\partial_{A,n+1})=f_n(\alpha)+\text{Im}\,\partial_{B,n+1}$?
And this works since $f_n$ maps cycles to cycles and boundaries to boundaries?
Thanks for any help.