Here we say that a group $G$ is periodic if every element of $G$ has finite order. $G$ needs not be abelian.
Problem. Let $G$ be a group with center $Z<G$. Prove that if every element in $G\setminus Z$ has finite order, then $G$ is periodic.
My proof is as follows: Assume $z\in Z$ has infinite order.
Select an element $a\in G\setminus Z$. By construction, there exists some $b\in G\setminus Z$ such that $ab\neq ba$.
On the one hand, the element $za$ is not in the center as $$(za)b=z(ab)\neq z(ba)=(zb)a=(bz)a=b(za).$$
On the other hand, the element $za$ also has infinite order: Suppose $(za)^m=(za)^n$. By assumption, $a$ has finite order, say $k$, then we have $$(za)^{mk}=(za)^{nk}\implies z^{mk}a^{mk}=z^{nk}a^{nk}\implies z^{mk}=z^{nk},$$ contradicting the assumption that $z$ has infinite order.
However, by assumption, since $za\in G\setminus Z$, it should have finite order, giving a contradiction.
Therefore, every element in the center $Z$ also has finite order and hence $G$ is periodic. $\square$
Hope anyone can help to check my proof. Different approaches are highly welcomed.