Let U,V are two disjoint subsets of a fixed set A. Then we may form their union U \cup V; if we view the union U\cup V as a set on its own, forgetting A, we can see that it is very much like the sum U+V. In fact, up to a change in notation, the union of two disjoint subsets is their sum; we can translate between them as follows:
\begin {aligned}
U \cup V
&\to
U+V
\\
x &\mapsto
\begin {cases}
\iota _1{\mathopen {}\left (x\right )\mathclose {}} & \text {if } x\in U\\
\iota _2{\mathopen {}\left (x\right )\mathclose {}} & \text {if } x\in V
\end {cases}
\end {aligned}
Conversely:
\begin {aligned}
U+V &\to U\cup V\\
{\mathopen {}\left (i,x\right )\mathclose {}} &\mapsto x
\end {aligned}
Dropping the index in the backward translation above is OK because it is uniquely determined by the disjointness of U and V.
The same idea works for families. In particular, let {\mathopen {}\left (U_i\right )\mathclose {}}_{i:I} be a family of subsets of a fixed set A that is pairwise disjoint in the sense that
\forall i,j:I\mathpunct {.}
i \not =j \implies U_i \cap U_j = \varnothing
\text {,}
or, equivalently,
\forall x:A\mathpunct {.}
\forall i,j:I\mathpunct {.}
x\in U_i\cap U_j \implies i=j
\text {.}
Then the big union \bigcup _{i:I}U_i amounts, as a set, to the big sum \sum _{i:I}U_i up to a back-and-forth translation:
\begin {aligned}
\bigcup _{i:I}U_i
&\to
\sum _{i:I} U_i
\\
x&\mapsto
\begin {cases}
{\mathopen {}\left (k,x\right )\mathclose {}} &\textbf {where } \forall i:I\mathpunct {.} {\mathopen {}\left (x\in U_i \implies i=k\right )\mathclose {}}
\end {cases}
\\[18pt]
\sum _{i:I}U_i &\to \bigcup _{i:I}U_i\\
{\mathopen {}\left (i,x\right )\mathclose {}} &\mapsto x
\end {aligned}
Sometimes you will hear mathematicians speak of “disjoint unions” of unrelated sets; in these cases, you should understand them to mean “sums” instead. It is still, however, very useful to know that when you really do have a union that is disjoint, you can view it as a sum, and vice versa.