Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Sorry, my mistake, this is true for every group G, like Primoz just said. The assumptions are needed for it to say that $\pi_3 SX \cong ker(\kappa)$ for a space $X$, where $\kappa : \pi_1 X \otimes \pi_1 X \to (\pi_1 X)'$ is the commutator epimorphism. These are: $X$ is path-connected and $\pi_2 X = 0$. Then you can see that the above follows.