I found this exercise
Prove that any Abelian group of order $45$ has an element of order $15$. Does every Abelian group of order $45$ have an element of order $9$?
In the answer to this last question I am told no. Since $\mathbb{Z}_3 \times \mathbb{Z}_3 \times \mathbb{Z}_5$, does not have an element of order $9$.
This is a bit confusing to me, since if $m$ divide order of a finite Abelian group $G$, then $G$ has a subgroup of order $m$ and in this case $9\mid 45$. What detail am I missing?