Topology is the mathematical study of what happens to objects when they are stretched, twisted, or deformed. Objects that have the same topology can be morphed into one another smoothly, without any tearing. For example, a donut and a coffee cup have the same topology, while a beach ball is in a different topological category.