The distinguishing feature of a topological space is its continuity structure, formalized in terms of open sets or neighborhoods. A continuous map is a function between spaces that preserves continuity. A homotopy is a continuous path between continuous maps; two maps connected by a homotopy are said to be homotopic. The idea common to all these concepts is to discard variations that do not affect outcomes of interest. An important practical example is the residue theorem of complex analysis, where "closed curves" are continuous maps from the circle into the complex plane, and where two closed curves produce the same integral result if they are homotopic in the topological space consisting of the plane minus the points of singularity.