There is a question with same title, but the problem, I will post here, is about the solution by Arturo Magidin.
A weaker version of HNN's theorem would be, given a group $H$ and $x,y\in H$ of same order, there exist a group $G$ such that $G$ contains $H$ and $x,y$ are conjugate in $G$.
As A. Magidin proceeds: consider $H=\mathbb{Z}$. Then $1,2\in \mathbb{Z}$ have same order, there is a group $G_1$ such that $\mathbb{Z}\subseteq G_1$ and $1,2$ are conjugate in $G_1$. In the group $G_1$ constructed, we have that the conjugacy class of $1$ contains $1,2,4,8,\cdots$, but not $3$, so we should construct a new containing $G_1$ in which $1$ and $3$ will be conjugate.
To say in short, the above procedure should be repeated for countably many times to make all torsion-free elements of $\mathbb{Z}$ conjugate in a bigger group. That is to say, in the solution by A. Magidin, there would be countably infinite groups between $\mathbb{Z}$ and $\mathbb{G_1}$.
Then, again, to make all torsion free elements outside $\mathbb{Z}$ conjugate in a bigger group, we proceed in above manner, infinitely many times.
How could finally we achieve the group with only two conjugacy classes?