My motivation behind this question is to better under the fundamental concepts of topology in their general sense.
I understand what a set closure when dealing with real numbers and a euclidean metric. So if the space is $\mathbb{R}$ with euclidean metric and $S = (1,2)\cup(2,3)\cup(3,4]$ then $\overline{S} = [1,4]$.But in the more general topological sense i'm not so sure. Next I will show 2 examples where I think I know the answer.
(1) Let $X = ${1,2,3,4,5,6} and $\mathscr{T}_1 = ${{},{1},{1,2},{1,2,3},{1,2,3,4},{1,2,3,4,5},{1,2,3,4,5,6}}. So $(X,\mathscr{T}_1)$ is a topological space.
My claim: If $S = ${1,2,3} then $\overline{S}=X$. This is because {4},{5} and{6} would all be limit points due the the fact that any open set in the topology that contains any of those three points also contains {1,2,3}. Furthermore, for any open set $U \in \mathscr{T}_1$ ;$\overline{U} = X$. Also, in this space, open sets are not closed.
(2) Let $X = ${1,2,3,4,5,6} and $\mathscr{T}_2 = ${{},{1},{2,3},{1,2,3},{4,5,6},{1,4,5,6},{2,3,4,5,6},{1,2,3,4,5,6}}. So $(X,\mathscr{T}_2)$ is a topological space.
My claim: If $S = ${1,2,3} then $\overline{S}=S$. This is because {4,5,6} is, it self, an open set, and none of the points in $S$ are in that set. So{4},{5} and{6} are not limit points. Furthermore, for any open set $U \in \mathscr{T}_2$ ;$\overline{U} = U$. Also, in this space, all open sets are also closed.
Is everything above correct? Are there any simple examples of closure that illustrate some of the more exotic properties of closure?