I am trying to understand the proof of a theorem which uses Zorn's lemma. I understand quite well all parts of the proof except for one point:
Let $R$ be a ring and define $K\doteq \{I\subseteq R \;\vert\; I \textrm{ is an ideal} \}$. Let $T$ be a totally ordered (by inclusion) subset of $K$. Then $$J\doteq\bigcup_{I\in T}I$$ is an ideal.
No explanation was given for this claim, so I imagine it is trivial. However, I cannot seem to see why. I know that the union of ideals in general is not an ideal. By the criteria for a union of ideals to actually be an ideal, we would need that for all $A,B\in T$, there is $C\in T$ such that $A\cup B\subseteq C$. Why is this true? I feel like there is something simple I am overlooking. Thank you for your time.
You are right that for $A,B\in T$, we need $C\in T$ with $A\cup B\subset C$. But we get this automatically because of the total order, since either $A\leq B$ or $B\leq A$ and this order is defined by inclusion.