Proof (uniqueness of limits)

Assume $x_n\to x$ and $x_n\to y$ but $x\neq y$.

Hausdorff topological space

By the Hausdorff property, there exists open sets $U, V$ such that $x\in U$, $y\in V$ but $U\cap V = \emptyset$. By the definition of convergence,

Therefore setting $n=\max\set{N_x, N_y}$, we have $x_n\in U\cap V$, contradicting with $U\cap V = \emptyset$.

Metric space

Let $\epsilon = d(x,y)$ and note that $\epsilon>0$.

Take $U = B_{\epsilon/2}(x)$ be a neighbourhood of $x$ and $V = B_{\epsilon/2}(y)$ be a neighbourhood of $y$. By the definition of convergence,

Therefore setting $n=\max\set{N_x, N_y}$, we have $x_n\in U\cap V$. But then $$ \begin{align*} \epsilon \leq d(x,y)\leq d(x,x_n) + d(x_n,y) < \epsilon/2 + \epsilon/2 = \epsilon, \end{align*} $$ which is a contradiction.