In a research article I found:
In a metrizable topological space $(X,\tau)$, if set of limit points $X'$ is not compact, then $X'$ contains a countably infinite discrete set.
I don't understand how it is happening.
If $X'$ is not compact, then there is a net $\{x_\alpha\}_{\alpha\in J}$ which has no convergent subnet. So, the net $x_\alpha$ has no limit point. Hence, the set $S=\{x_\alpha:\alpha\in J\}$ is a discrete space in the subspace topology $\tau_S=\{S\cap O:O\in \tau\}$, which is equivalent to ``each singleton set $\{x_\alpha\}$, $\alpha\in J$, is in $\tau_S$''. But from here how to prove that each singleton set $\{x_\alpha\}$, $\alpha\in J$, is in $\tau$.
A set is called discrete, if it consists only isolated points.
SKETCH: The space $X$ is largely irrelevant: you’re really just trying to show that if a space $X$ (the $X'$ of your question) is metrizable and not compact, then it contains a countably infinite discrete set. Let $d$ be a compatible metric on $X$. Since $X$ is not compact, either the metric space $\langle X,d\rangle$ is not complete, or it is not totally bounded.
If it is not complete, there is a $d$-Cauchy sequence $\langle x_n:n\in\Bbb N\rangle$ in $X$ that does not converge to any point of $X$. Show that $\{x_n:n\in\Bbb N\}$ is an infinite closed discrete subset of $X$.
If $\langle X,d\rangle$ is not totally bounded, there is an $\epsilon>0$ such that if $F\subseteq X$ is finite, then $\bigcup_{x\in F}B(x,\epsilon)\ne X$. Recursively choose points $x_n$ for $n\in\Bbb N$ as follows. Let $x_0\in X$. $B(x_0,\epsilon)\ne X$, so there is an $x_1\in X\setminus B(x_0,\epsilon)$. If $n\in\Bbb N$, and we’ve chosen $x_k\in X$ for each $k\le n$, $\bigcup_{k\le n}B(x_k,\epsilon)\ne X$, and we can keep the recursion going by choosing $x_{n+1}\in X\setminus\bigcup_{k\le n}B(x_k,\epsilon)$. Show that $\{x_n:n\in\Bbb N\}$ is an infinite discrete subset of $X$.