A set is one of the simplest structures we can define in math. One may intuitively think of a set as a collection of objects (there are formal definitions that are used to define this more rigorously). With only this structure, we can do some things, but not much. If we have two sets, we may consider maps between them. We are often interested in structure preserving maps. At the level of sets, the only structure we really have is the cardinality of the set (i.e. the number of elements in it). So, the structure preserving map at the level of sets is one that preserves cardinality, or a bijection.
We can, however, add more structure to our sets. Suppose we have a set $X$. One of the next most basic structures we can add on top of $X$ is a topology. A topology is a collection $\mathcal{T}$ of subsets of $X$ that we are treating as "special" in some sense. Really, they are special just because we say that they are. We further require this collection of subsets to satisfy a few properties.
- $\emptyset$ and $X$ are in $\mathcal{T}$
- If $U, V$ are in $\mathcal{T}$, then so is $U \cup V$.
- If a finite collection of sets $U_i$ are in $\mathcal{T}$, then so is $\bigcap_i U_i$
That's all that we need to define open sets. So a subset of $\mathbb{R}$ may be open if it is in some $\mathcal{T}$ , as long as the chosen $\mathcal{T}$ satisfies the above three properties. We are still interested in structure preserving maps, but now we have more structure. We may take our old sets and give them each a topology. Then, we may take our old bijection and add a further requirement that if we give the map one of our 'special' (open) sets in the domain, it gives us one of our special sets in the image. These structure preserving functions are called continuous functions, and we say that continuous functions map open sets to open sets.
You may be familiar with the notion of open sets from analysis. These sets are really only open in the sense that they are in a certain topology (one of many we could define for $\mathbb{R}$). This topology that gives us the familiar notion of open sets from real analysis is called the standard topology. Call an open interval a set of the form
$$
(a, b) = \{ x \in \mathbb{R} \mid a < x < b \}
$$
Then the standard topology $\mathcal{T}_{st}$ is defined as the collection of open intervals.