Give an example of a non-abelian group $G$ such that $H = \{a \in G \mid\operatorname{ord}(a) < \infty\}$ is not a subgroup of $G$.
Examples and further results about the order of the product of two elements in a group