I'm looking at this theorem in my textbook, and I was wondering: is this not true for any general topological space?
i.e. Does the following hold?
Let $X$ be a topological space and $A \subset X$. Then $x \in \overline{A}$ if and only if there exists a sequence of points in $A$ that converge to $x$.
Why is the title version of the theorem restricted to the metric case?
Here $\overline{A}$ denotes the closure of $A$ in $X$.
No, it doesn't hold.
Consider the Cocountable topology on an uncountable set; for example, on $\mathbb{R}$.
Here the open sets are $\varnothing$ and those sets whose complement is countable.
On this topological space every convergent sequence is eventually constant, as you can see in an answer to this question; in particular, limits of sequences are unique.
Fix $r \in \mathbb{R}$, and let $A = \mathbb{R} \setminus \{r\}$.
Then $A$ is not countable, whence $\{r\}$ is not open, and so $A$ is not closed. Therefore, $\bar{A} = \mathbb{R}$.
Now if $(x_n) \subseteq A$ is a convergent sequence, then $x_n \to a \in A$ because $x_n = a$, for some $a \in \mathbb{R}$, for $n \geq n_0 \in \mathbb{N}$, and so $(x_n)$ doesn't converge to $r$.