I am studying the following theorem in Advanced modern algebra/ Joseph J. Rotman. - Third edition,(Graduate studies in mathematics ; volume 165),
A left $R$ module $M$ over a ring $R$ is semisimple if and only if every submodule of $M$ is a direct summand.
I have not understood how Zorn's lemma is used in the converse part of the theorem :
By Zorn's lemma, there is a family $(S_j)_{j \in I}$ of simple sub-modules of $M$ maximal such that the sub-module $U$ they generate is their direct sum: $U = \oplus_{j \in I} S_j.$
I have taken (I hope this is a right direction) $$F = \{ (S_j)_{j \in I} : \text{The submodule generated by }(S_j)_{j \in I} \text{ is their direct sum where each $S_j$ are simple}\}$$
The previous part of the argument tells :
Every non-zero sub-module $B$ contains a simple summand.
This implies that $M$ contains a simple summand and consequently $F$ is nonempty. But somehow I am not able to show rigorously that every chain has an upper bound. Any help is appreciated.
For convenience of notation, let us consider sets of simple submodules whose sum is direct rather than indexed families. (It makes no significant difference, since the simple submodules in such a family must be distinct or else the submodule the generate would not be their direct sum.) Let $F$ be the set of all sets of simple modules of $M$ whose sum is direct, ordered by inclusion. Suppose $\mathcal{C}\subseteq F$ is a chain, and let $A$ be the union of all the elements of $\mathcal{C}$. Then $A$ is a set of simple submodules of $M$, and we want to show that the submodule generated by the elements of $A$ is their direct sum so that $A\in F$ and $A$ upper bound of the chain $\mathcal{C}$.
To show this, it is helpful to use the following fact. Given a set $A$ of submodules of a module, the submodule they generate together is their direct sum iff for any distinct $S_1,\dots,S_n\in A$ and any $s_1\in S_1,\dots,s_n\in S_n$, $\sum_i s_i=0$ implies $s_i=0$ for all $i$. Applying this to our $A$, note that since $\mathcal{C}$ is a chain, for any finite sequence of elements $S_1,\dots,S_n\in A$ there is a single element $B\in\mathcal{C}$ which contains all of them. But then since $B\in F$, we know that for any $s_1\in S_1,\dots,s_n\in S_n$, $\sum_i s_i=0$ implies $s_i=0$ for all $i$, as desired.
More briefly, given a family of simple submodules, the condition that the submodule they generate is their direct sum can be tested by considering only finitely many of the simple submodules at a time. This means that a union of a chain of such families is another such family, since any finite subset of the union is contained in some element of the chain.