Let $G$ a finite group and suppose that all non-identity elements has order 2. Show that $G$ is an Abelian group and it can be writed as a direct product of cyclic groups with order 2.
I've already red some answers to related questions, but I can't see how to prove the part of the direct product of cyclic groups, I understand that $o(G)=2^k$ but I don't know if all the finite groups has a generating set... Some hint or solution?
You already know that $G$ is abelian. By the fundamental theorem on finite abelian groups, $G$ is a direct product of cyclic groups. For the order $n$ of any cyclic factor, $G$ contains an element of order $n$. So all the cyclic factors are of order $2$.