The exact question is:
Is it possible that a ring with unity may simultaneously contain subrings isomorphic to $\mathbb{Z}_n$ and $\mathbb{Z}_m$, where $n \ne m$?
The answer says it's possible and says $\mathbb{Z}_2 \times \mathbb{Z}_3$ has a subring isomorphic to $\mathbb{Z}_2$ and one isomorphic to $\mathbb{Z}_3$. I'm just trying to understand the problem better, but I can't see which two subrings are isomorphic. Could someone explain this solution to me? Thank you.