In this case, it's easy: $\mathbb{Z}\times\mathbb{Z}_3$ has an element whose order is $3$, whereas $\mathbb Z$ has no such element.
In general, thinking about the orders of the elements is a good approach.
In this case, it's easy: $\mathbb{Z}\times\mathbb{Z}_3$ has an element whose order is $3$, whereas $\mathbb Z$ has no such element.
In general, thinking about the orders of the elements is a good approach.