A group surjects onto $\mathbb{Z}$ if and only if its abelianization tensored with the rationals is non-trivial.