I met the notation $ S=\{(a,b] ; a,b\in \mathbb R,a<b\}\cup\{\emptyset\} $
I know $S$ is a family of subsets ,a set of intervals, and from set theory $\emptyset$ is a subsets of every set then why in the notation :$ S=\{(a,b] ; a,b\in \mathbb R,a<b\}\cup\{\emptyset\} $ appear $\color{red}{\cup\{\emptyset\}}$?
It is because the emptyset $\emptyset$ is a subset of every set, but not an element of every set. It is $\emptyset\in S$ and you might want that to show, that the elements of $S$ define a topology.
Or to be more clear it is $\{1\}\neq\{1,\emptyset\}$. The set on the left has one element, the set on the right has two elements, with $\emptyset\in\{1,\emptyset\}$