Suppose that a set $E \subset S$ is not connected, then it can be written as the union of two separated sets $A$ and $B$. By separated, I mean $A \cap \bar{B} = \bar{A} \cap B = \emptyset$.
My question is are $\bar{A}$ and $\bar{B}$ viewed as closures of $A$ and $B$ in the induced topology $E$ or are they viewed as closures in the full set $S$, or are they equivalent, or does it matter?