The following is from Hatcher's Algebraic Topology:
Suppose one is given a collection of groups $G_{\alpha}$ and one wishes to construct a single group containing all these groups as subgroups. One way to do this would be to take the product group $\prod_{\alpha}G_{\alpha}$, whose elements can be regarded as the functions $\alpha\mapsto g_{\alpha}\in G_{\alpha}$. Or one could restrict to functions taking on nonidentity values at most finitely often, forming the direct sum $\bigoplus_{\alpha}G_{\alpha}$. Both these constructions produce groups containing all the $G_{\alpha}$'s as subgroups, but with the property that elements of different subgroups $G_{\alpha}$ commute with each other. In the realm of nonabelian groups this commutativity is unnatural, and so one would like a nonabelian version of $\prod_{\alpha}G_{\alpha}$ or $\bigoplus_{\alpha}G_{\alpha}$. Since the sum $\bigoplus_{\alpha}G_{\alpha}$ is smaller and presumably simpler than $\prod_{\alpha}G_{\alpha}$, it sould be easier to construct a nonabelian version of $\bigoplus_{\alpha}G_{\alpha}$, and this is what the free product achieves.
Can someone explain what he means by "but with the property that elements of different subgroups $G_{\alpha}$ commute with each other."?