Why is it important for a Homeomorphic Function (by the definition below) to be continuous ? What purpose does continuity serve ?
Let M and N be metric spaces. A function f : M $\to$ N is a homeomorphism if it is a bijection, and both f: M $\to$ N and its inverse $f^{-1}$: N $\to$ M are continuous. We say M and and N are homeomorphic.
(I am too new at this, so the answer might as well be, "because we defined it like that", but I thought I should ask.)