Let $X$ be a normal topological space.
For any disjoint closed sets $A,B\subseteq X$, there exists a continuous function $f: X \to [0,1]$ such that $A \subseteq f\inv(0)$ and $B \subseteq f\inv(1)$.
Proof