A topological space is a space studied in topology, the mathematics of the structure of shapes. Roughly, it is a set of things (called points) along with a way to know which things are close together.