I am given this problem:
Suppose that $\{C_{\alpha}\}$ is a family of connected subspaces of a space $X$. If each intersection $C_{\alpha} \cap C_{\alpha'}$ is nonempty, then $\cup_{\alpha} C_{\alpha}$ is connected.
And I am supposed to use the following lemma:
If $A \subseteq X$ is both open and closed, then any connected subspace $C \subseteq X$ that has a nonempty intersection with $A$ must be contained in $A$.
Could any of you offer me a hint as how to proceed?