Since
$ G =( \prod_{1}^{\infty} \mathbb{Z} )\times \mathbb{Z} \times \mathbb{Z} \cong (\prod_{1}^{\infty} \mathbb{Z}) \times \mathbb{Z} $,
by taking quotients we get
$\mathbb{Z \times Z} \cong G/ \prod_{1}^{\infty} \mathbb{Z} \cong \mathbb{Z}$.
Therefore
$\mathbb{Z} \cong \mathbb{Z \times Z}$.
But $\mathbb{Z}$ is indecomposable! What's wrong with above proof?
Quotienting by isomorphic copy need not preserve isomorphisms. For a simpler related example: $C_n=\mathbb{Z}/n\mathbb{Z}$ and $m\mathbb{Z}\cong n\mathbb{Z}$ for all $m,n>0$, but obviously the cyclic groups $C_m$ and $C_n$ are not isomorphic if $m\neq n$.