In Munkres's book on topology, the notion of homeomorphism is stated to be analogous to the notion of isomorphism in context of modern algebra. I was wondering what will be the analogous concept of homomorphism in context of topology. One of my professors said that it is the continuous functions but I don't understand (although he tried) the reason behind this assertion.
For example in case of group homomorphism we see that a group homomorphism $\varphi:(G,\circ)\to (H,\bullet)$ is a map such that $\varphi(x\circ y)=\varphi(x)\bullet\varphi(y)$ for all $x,y\in G$. If we try to define the notion of, say, "topological homomorphism", in an analogous manner we could define it in the following,
A topological homorphism $\tau:(X,\mathscr{T}_X)\to (Y,\mathscr{T}_Y)$ is a map such that it preserves the "topological structures".
But since here I don't know the precise notion of topological structures, I can't relate the notion of topological homomorphism as stated above to the notion of continuous functions. To me it seems that the notion of injective open map could serve as a notion of "topological homomorphism". Because actually the problem (at least for me) is that while we are discussing groups we can say that the homomorphism is "structure preserving" in the sense that it is "binary operation preserving". But here in case of topological spaces what can play the role of "binary operation"? If we say that the topological homomorphism should preserve the arbitrary union and finite intersection of open sets then the most natural way to think about it is probably the notion of an injective open map.
Can anyone explain this to me?