Let $\mathcal{M}$ be the category of left $R$-modules. Then the product (direc product) and co-product (direct sum) of any family of objects $\{A_i\}_i$ in this category exists, denote by $\bigoplus_i A_{i\in I}$ and $\prod_{i\in I} A_i$.
When set $I$ is infinite, I have seen their difference only on the level of some counting arguments, and now I wanted to know, in the category theory, how they are really different.
In other words, to show that $\bigoplus_i A_i$ is not the co-product of $\{A_i\}_i$, I have to show that it violates a universal property of the product/co-product. But, I am confused here, how to proceed for it.
Can one give some hint to prove that the co-product and product are not isomorphic in the category of modules for an infinite family?
For simplicity, let's consider the category $Ab$ of abelian groups. Now, the product of countably many copies of $\mathbb Z$ is simply their direct product: the set of all sequences of integers with point-wise operation. The coproduct though is the set of all eventually $0$ such sequences with point-wise operation. To verify these claims, simply establish the universal property. For the product it is completely straightforward, while for the coprouct there is a tiny little but to pay attention to.
Now, these two groups are not isomorphich, for instance by counting their cyclic subgroups. You can show directly that the product does not satisfy the universal property of the coproduct, and vice versa. Basically any attemp will be successful, so try to keep the choice of morphisms simple.