For every metric space $(X, d)$ and every $x \in X$, the function $y \mapsto d(x,y)$ is continuous. Since the discrete metric is $d(x,y) = \begin{cases} 0, & x = y \\ 1, & x \ne y \end{cases}$, we have that
$$\{x\} = \left\{ y \in X \mid d(x,y) \le \frac 1 2 \right\} = d(x, \cdot)^{-1} \left( \left[ 0, \frac 1 2 \right] \right)$$
which is the preimage of a closed set under a continuous function, hence closed.
Notice that since singletons are open, and since arbitrary unions of open subsets are open, then every subset of $X$ is open: if $S \subseteq X$ then $S = \bigcup _{s \in S} \{s\}$. This means that the topology generated by the discrete metric is the discrete topology, so every subset $S$ is also closed (because its complementary subset is $X \setminus S$ which is open by the previous explanation). In particular, then, singletons are closed.
To conclude, working with the discrete metric on a set is equivalent to working with the discrete topology, in which every subset is both open and closed.