There's a branch of mathematics called "pointless topology" [1].

[1] https://en.wikipedia.org/wiki/Pointless_topology