The following is the definition of disjoint union spaces in John Lee's "Introduction to Topological Manifolds":
Let $(X_{\alpha})_{\alpha\in A}$ be an indexed family of nonempty topological spaces. We define the disjoint union topology on $\amalg_{\alpha\in A}X_{\alpha}$ by declaring a subset of the disjoint union to be open if and only if its intersection with each set $X_{\alpha}$ (considered as a subset of the disjoint union) is open in $X_{\alpha}$. With this topology, $\amalg_{\alpha\in A}X_{\alpha}$ is called a disjoint union space.
In this definition, what does it mean for a set to be open in $X_{\alpha}$? Here the disjoint union $\amalg_{\alpha\in A}X_{\alpha}$ is defined by $$\amalg_{\alpha\in A}X_{\alpha}=\{(x,\alpha):\alpha\in A, x\in X_{\alpha}\},$$
and by "considered as a subset of the disjoint union", he means that he is identifying the set $X_{\alpha}$ with the set $$\{(x,\alpha): x\in X_{\alpha}\}.$$