[motivation]
## Motivation
### [Metric Spaces](/page/Metric%20Space): What Distance Gives You
In a metric space $(X, d)$, the distance function $d: X \times X \to [0, \infty)$ provides a complete toolkit for analysis: open balls $B(x, r) = \{y \in X : d(x, y) < r\}$, convergence ($x_n \to x$ iff $d(x_n, x) \to 0$), continuity ($f$ is continuous at $x$ iff $d(f(x_n), f(x)) \to 0$ whenever $d(x_n, x) \to 0$), and compactness. Every metric space carries a natural topology — the collection of sets that are unions of open balls — and the metric concepts of convergence and continuity depend only on this topology, not on the specific values of $d$.
This is the starting point: if the metric is dispensable and only the open sets matter, why insist on having a metric at all?
### What Metrics Cannot Do
The need to go beyond metrics arises in concrete situations. Consider the space $C([0,1])$ of continuous functions on the unit interval. The supremum metric $d_\infty(f, g) = \sup_{x \in [0,1]} |f(x) - g(x)|$ captures [uniform convergence](/page/Uniform%20Convergence) — but what about pointwise convergence, where $f_n(x) \to f(x)$ for each $x$? This is a natural notion of convergence, but it is not given by any metric on $C([0,1])$: the topology of pointwise convergence on an uncountable index set is not metrizable. Similarly, the [weak* topology](/page/Weak*%20Topology) on the dual of an infinite-dimensional [Banach space](/page/Banach%20Space) is typically not metrizable on the full space, only on bounded subsets.
Even when a metric exists, the same set can carry multiple metrics that produce identical open sets. On $\mathbb{R}$, the metrics $d_1(x,y) = |x-y|$ and $d_2(x,y) = \min(|x-y|, 1)$ give the same open sets, the same convergent [sequences](/page/Sequence), and the same continuous functions. The metric carries redundant information; the topology is the intrinsic structure.
### The Correct Abstraction
What properties must a collection of "open sets" satisfy? Examining what holds in every metric space, one extracts three axioms: (i) the empty set and the whole space are open, (ii) arbitrary unions of open sets are open, and (iii) finite intersections of open sets are open. These are the axioms of a topology. The insistence on *arbitrary* unions but only *finite* intersections is not arbitrary — in a metric space, the intersection $\bigcap_{n=1}^\infty (-1/n, 1/n) = \{0\}$ is a single point, which is not open in $\mathbb{R}$, while any union of open balls is always open.
[/motivation]