The intervals are precisely the connected subsets of R {\displaystyle \mathbb {R} } . It follows that the image of an interval by any continuous function is also an interval. This is one formulation of the intermediate value theorem.