I know that $$(\ \mathbb{Z} /49 \mathbb{Z} )\ ^* \simeq \mathbb{Z}/ 42 \mathbb{Z} $$ because $\phi(49) = 42$. Furthermore $$\mathbb{Z}/ 42 \mathbb{Z} \simeq \mathbb{Z}/ 6 \mathbb{Z} \times \mathbb{Z}/ 7 \mathbb{Z}$$
Is the first claiming always true? The cardinality of the two sets is equal but isomorphism is a stronger fact. So... why does this thing work?
The second one I know is a consequence of the chinese theorem remainder, so it is true when $\mathbb{Z}/ n\mathbb{Z}$ factorises with coprime factors.