Topology is the mathematical field studying properties of space that are preserved under continuous deformations, such as stretching and bending, but not tearing or gluing. Introduced as a field of pure mathematics, topology has developed from geometry and set theory.