What is the most general definition of homomorphism and isomorphism? It is clear what they mean when there is an algebraic structure to be preserved, but what about when there is no such structure? Are homomorphism and isomorphism still relevant concepts?
For example, the statement "the real numbers are isomorphic to the equivalence class of Cauchy sequences in the completion of the rational numbers" means what exactly? Does such a statement presuppose the normal definitions of + and * on the reals and on Cauchy sequences?
In other words, are homomorphism and isomorphism very general concepts that can be used without specifying the operations, or not?
The most general definition (and the one I prefer) is the pure logic definition of homomorphism between structures; once this is well understood, it can be applied to any more specific topic like topology and analysis.
A structure is a set containing several sets that gives context to logical formulas:
When a structure satisfies a set of axioms, we call the structure a model. Because our signature is the signature of group theory and our interpretation satisfies the axioms of group theory, we say that our structure is a group (a model of group theory).
Thus when we talk about a homomorphism between two structures of the same signature, we simply mean a function from one domain of discourse to another that preserves every single relation and function in the signature. An embedding is a homomorphism that is also an injection. An isomorphism is a homomorphism that is also a bijection.
In group theory, there is only one relation in the structure, so homomorphisms only have to preserve the group operation. Between rings, there are now two operations that must be preserved. Between structures of a signature with one billion relations, all one billion relations must be preserved under the homomorphism.
It happens to be the case that when a homomorphism exists from a group $G$ to another structure $H$, $H$ is necessarily a group as well. This is a theorem. But it is not generally the case: if structure $A$ is a model of theory $T$, and $f$ is a homomorphism from $A \to B$, $B$ is not necessarily a model of theory $T$. However, if $f$ is an isomorphism, then $B$ is necessarily a model of theory $T$. In fact, every first order logic sentence that is true in $A$ must be true in $B$ as well (this the meaning behind the phrase 'up to isomorphism').
As you can see, the terms isomorphism and homomorphism are meaningless without specifying the structures in question, however many if not most statements are made without explicitly mentioning the operations because they are assumed by the context. For example, when we say that "the real numbers are isomorphic to the equivalence class of Cauchy sequences in the completion of the rational numbers", we are implicitly talking about the field of real numbers. If you want to talk about homomorphisms between less canonical structures, you need to be more explicit to be understood.