I am not familiar with Hausdorff spaces so I need to derive the above result using my existing knowledge which is:
In the context of metric spaces only, I already know that if two compact sets $A$ and $B$ are disjoint, then the distance between them is strictly positive.
Given this knowledge, is it possible to prove $A \subset U$ and $B \subset V$ for $U, V$ open and disjoint? How?