Lemma 7.5.3: Let $\Omega$ be a measurable subset of $\mathbb{R^n}$ , and let $f: \Omega \to \mathbb{R}^m$ be a function. Then $f$ is measurable iff $f^{-1}(B)$ is measurable for every open box $B$.
This definition makes me feel that measurability is really similar to continuity in the sense that both involve inverse of some subset with some property be subset of similar property (be it open or measurable). This makes me feel that that measurability and continuity are somehow similar but somehow different at the same time.
Could it be explained why these conceptually different properties look so similar?