Max and Min of Function on Closed Real Interval

Theorem
Let $f$ be a real function which is continuous on the closed interval $\left[{a \,.\,.\, b}\right]$.

Then $f$ reaches a maximum and a minimum on $\left[{a \,.\,.\, b}\right]$.