I am trying to understand the difference between open sets on a real line and open sets in a topological space. For example, while reading about open sets in Real line, it says:
Recall the following definitions about open and closed sets in $\mathbb{R}^d$.
Open Sets: Write
$B_d(x,r) :=\{y \in R^d: |y-x| < r\}$
for the open ball of radius $r$ about $x \in \mathbb{R}^d$.
A set $G \subset \mathbb{R}^d$ is open if for all $x \in G$ there exists an $r > 0$ such that $B(x,r) \subset G$.
Now if talk about topological space:
A topological space, also called an abstract topological space, is a set $X$ together with a collection of open subsets $T$ that satisfies the four conditions:
The empty set $\emptyset$ is in $T$.
$X$ is in $T$.
The intersection of a finite number of sets in $T$ is also in $T$.
The union of an arbitrary number of sets in $T$ is also in $T$.
Members of the $T$ are called open sets
Now, how these open sets of real line and Topological space are related?