[step:Prove the converse by contrapositive — construct a net with two limits when separation fails]We prove the contrapositive: assume $(X, \tau)$ is not Hausdorff and produce a net with two distinct limits. Since $X$ is not Hausdorff, there exist distinct points $x, y \in X$ such that for every pair of open sets $U, V \in \tau$ with $x \in U$ and $y \in V$, the intersection $U \cap V \neq \varnothing$.
Define the index set
\begin{align*}
D := \{(U, V) : U, V \in \tau,\, x \in U,\, y \in V\},
\end{align*}
ordered by $(U_1, V_1) \preceq (U_2, V_2)$ if and only if $U_2 \subset U_1$ and $V_2 \subset V_1$ (componentwise reverse inclusion). We verify that $(D, \preceq)$ is directed: given $(U_1, V_1)$ and $(U_2, V_2)$ in $D$, the pair $(U_1 \cap U_2, V_1 \cap V_2)$ belongs to $D$ (since finite intersections of open sets are open, and $x \in U_1 \cap U_2$, $y \in V_1 \cap V_2$) and is an upper bound for both.
For each $(U, V) \in D$, choose $s_{(U,V)} \in U \cap V$ (possible since $U \cap V \neq \varnothing$ by the failure of the Hausdorff property). This defines a net $s: D \to X$.
The net $(s_{(U,V)})$ converges to $x$: given any open $W$ containing $x$, the pair $(W, X) \in D$, and for any $(U, V) \succeq (W, X)$ we have $U \subset W$, so $s_{(U,V)} \in U \subset W$.
The net also converges to $y$: given any open $W$ containing $y$, the pair $(X, W) \in D$, and for any $(U, V) \succeq (X, W)$ we have $V \subset W$, so $s_{(U,V)} \in V \subset W$.
Since $x \neq y$, the net has two distinct limits.[/step]