Let $X\subseteq \Bbb R$, $\tau$ is a topology on $X$.
What even is $(X,\tau)$? Is it an ordered pair? Is it $\{(x,y)|x\in X, y\in \tau\}$? Is it a subset of $\Bbb R^2$? I (pretty much) know what topologies are, but I hove no idea how to think of $(X,\tau)$ visually.
It is (math is) all about sets and structures. With your permission, I'll expand some discussion here.
Knowing (even intuitively) what is a set, one can ask for distinct structures on that sets.
If $G$ is a set and $\star\colon G\times G\to G$ is an operation in $G$ satisfying
then we say $\langle G, \star\rangle$ is a group. Notice that $G$ itself is just a set, while the pair $\langle G, \star\rangle$ is a group. People say "$G$ is a group" just for simplicity (when the operation is clear), though it is an abuse of notation.
Further, if we have a set $R$ with two operations $+\colon R\times R\to R$ and $\bullet\colon R\times R\to R$ satisfying some axioms, the triple $\langle R, +, \bullet\rangle$ is a ring, while $R$ itself is just a set. People say "$R$ is a ring" for simplicity (when the operations are clear), but it is also an abuse of notation.
This list could be infinite.. let us focus on your question.
A topological space is a pair $\langle X, \tau\rangle$, where $X$ is some set and $\tau\subseteq 2^X$ (the power set of $X$) satisfies
The set $X$ is then called the base set and $\tau$ is called a topology on $X$. The elements of $\tau$ are called open subsets of $X$. People say "$X$ is a topological space" for simplicity (when the topology is clear), though it is an abuse of notation.