TITLE: Can someone explain the precise difference between of direct sum and direct product of groups?
QUESTION [7 upvotes]: As far as I know, the direct product of groups $G_1, \dots , G_n$ is the group with the underlying set being the cartesian product and the operation done component wise.  It's not clear to me what a direct sum of groups $G_1, \dots ,G_n$ really means. Wikipedia makes it sound like the term "direct sum" is used to refer to the direct product of abelian groups.
Some clarification would be appreciated.

REPLY [4 votes]: There is the unrestricted and restricted direct product.
It seems to me that it is most usual (e.g. as in the post by Brian Scott) to call "direct product" the unrestricted one and "direct sum" the unrestricted one, but some people (notably Russian) call "direct product" the restricted one and "cartesian product" the unrestricted one. Also some people (such as Serre) say that "direct sum" is meaningless because it is not a coproduct in the category of groups (unlike the unrestricted direct product of modules over a given ring). Besides, I think there was an attempt by Bourbaki to promote "free sum" to mean "free product" but it seems that "free product" is almost universal now.