Definition:Topology/Definition 1

Definition
Let $S$ be a set such that $S \ne \varnothing$.

A topology on $S$ is a subset $\tau \subseteq \mathcal P \left({S}\right)$ of the power set of $S$ that satisfies the open set axioms:

If $\tau$ is a topology on $S$, then $\left({S, \tau}\right)$ is called a topological space.

The elements of $\tau$ are called the open sets of $\left({S, \tau}\right)$.

Also see

 * Equivalence of Definitions of Topology