Image of Interval by Continuous Function is Interval

Theorem
Let $I$ be a real interval.

Let $f: I \to \R$ be a continuous real function.

Then the image of $f$ is a real interval.