Below is a simple inductive proof excerpted from my post in a prior thread.
Lemma $\ $ A finite abelian group $\rm\,G\,$ has lcm-closed order set, i.e. with $\rm\, o(X) := $ order of $\rm\: X$
$$\rm X,Y \in G\ \ \Rightarrow\ \ \exists\ Z \in G\!:\ o(Z) = lcm(o(X),o(Y))\qquad\ \ \ \ \ $$
Proof $\ \ $ We induct on $\rm\, o(X)\, o(Y).\, $ If it's $\,1\,$ let $\rm\:Z = 1.\:$ Else split off $\rm\,p's$ in $\rm\,o(X),\,o(Y),\,$ i.e.
write $\rm\ \ o(X)\, =\, AP,\: \ \ o(Y) = B\bar P,\, $ prime $\rm\: p\nmid A,B,\, $ wlog $\rm\,p\,$ $\rm\color{#0a0}{highest}$ in $\,\rm P\,$ so $\,\rm\color{#0a0}{\bar P\!\mid P}\! =\! p^{\large k} > 1 $
Then $\rm\: o(X^{\large P}) = A,\ \ o(Y^{\large \bar P}) = B.\ $ By induction $\rm\, \exists\, Z\!:\ o(Z) = lcm(A,B)$
so $\rm\,\ \ o(X^{\large A}\,\!Z) =\, P\, lcm(A,B) = lcm(AP,B\bar P) = lcm(o(X),o(Y))\,\ $ by here.
Note $ $ This is an element-wise form of what's known as "Herstein's hardest problem": $2.5.11$, p. $41$ in the first edition of Herstein's popular textbook Topics in Algebra. In the 2nd edition Herstein added the following note (problem $2.5.26$, p. $48$)
Don't be discouraged if you don't get this problem with what you know of group theory up to this stage. I don't know anybody, including myself, who has done it subject to the restriction of using material developed so far in the text. But it is fun to try. I've had more correspondence about this problem than about any other point in the whole book."