The singular homology of a space $X$ is defined to be the homology of the chain complex $${\displaystyle \ldots {\stackrel {}{\longrightarrow }}\mathbb Z[Sing_2(X)]{\stackrel {}{\longrightarrow }}\mathbb Z[Sing_1(X)]{\stackrel {}{\longrightarrow }}\mathbb Z[Sing_0(X)]}{\stackrel {}{\longrightarrow }}0.$$
More precisely, this is called the singular homology of $X$ with coefficients in $\mathbb Z$.
Question: What is a coefficient group and why is it called "coefficient"? I only know the term from elementary algebra, where the $a_i$ in a polynomial $$a_nx^n+\dots +a_2x^2+a_1x+a_0$$ are called coefficients. Is this concept related to the coefficients in the above sense?
How is homology in other coefficients defined and what changes? Is homology then a module instead of an abelian group?