Definition 3
Tag 0BBV, permanent. Cite it as [Bourbaki, Tag 0BBV].
General Topology, chapter I, § 11. Connectedness
The component (or connected component) of a point of a topological space is the largest connected subset of which contains this point. The components of a subset of are the components of the points of , relative to the subspace of .
If a space is connected, the component of each point is the whole space. If a space is such that for each pair of points of there is a connected set containing and , then is connected.
A space is said to be totally disconnected if the component of each point of consists of the point alone. A subset of is a totally disconnected set if the subspace of is totally disconnected.
A discrete space is totally disconnected, but one should beware of confusing these two notions; for example, we shall see in Chapter IV, § 2, no. 5, that the rational line, which is not a discrete space, is totally disconnected.
A set which is both open and closed contains the component of each of its points, whence the component of a point is contained in the intersection of the sets which are both open and closed and which contain this point. However, the component of a point is not necessarily equal to this intersection (cf. Exercise 9 and Chapter II, § 4, no. 4, Proposition 6).
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.