The word topology is often used with network, but it is also a branch of mathematics where distance between two connected points doesnt matter as long as their is no holes between them so by that contrast, a donut and coffee cup are same objects in topology.
Question: Is the term "topology" is used in the same context between the two examples?