A space is separable if it has a countable dense subset. Separability is related to second-countability (second-countable implies separable) and together with other axioms often implies metrization. Many important spaces are separable: ℝⁿ, Lᵖ spaces, and spaces of continuous functions.
You have studied dense sets: a subset D is dense in X if every nonempty open set of X intersects D, or equivalently if the closure of D equals all of X. Separability adds one further requirement — the dense subset must be countable. A space is separable if it can be approximated, in the sense of density, using only countably many points. This is a "smallness" or "tameness" condition on the space.
The canonical example is ℝ: the rational numbers ℚ are countable and dense in ℝ (between any two reals lies a rational, as the density theorem guarantees). So ℝ is separable. The same argument extends to ℝⁿ: points with all rational coordinates form a countable dense subset. Separability is preserved under many standard constructions — continuous surjective images of separable spaces are separable, and subspaces of separable metric spaces are separable — making it a robust property in practice.
Separability is closely connected to second-countability — the condition that the topology has a countable base (a countable collection of open sets from which all open sets can be built). Every second-countable space is separable: pick one point from each basis element to form the countable dense subset. In metric spaces, the converse also holds: separable metric spaces are second-countable. This equivalence is powerful because second-countability enables many compactness and covering arguments, so proving separability in a metric space is often enough to unlock these tools.
In functional analysis, separability is what makes infinite-dimensional spaces analytically tractable. The Lᵖ spaces (for 1 ≤ p < ∞) are separable — you can approximate any Lᵖ function by step functions with rational heights and rational endpoints, a countable collection. Separable Hilbert spaces — those with a countable orthonormal basis — are the setting for quantum mechanics and much of modern analysis: every element can be expanded in a Fourier series, and limits of such series stay in the space. The Urysohn metrization theorem provides the capstone: a regular second-countable space (hence separable, with mild separation) is metrizable. Separability thus acts as a gateway condition — it combines with other properties to restore metric structure, the strongest and most useful form of topology for analysis.