Let $f$ be a continuous real-valued function on $\mathbb{R}$. Show that the inverse image with respect to $f$ of an open set is open, of a closed set is closed, and of a Borel set is Borel.
I got open and closed pretty easily by following the definition. But Borel? A Borel set is formed from open sets by complement or countable union (or repeating these operations). Doesn't seem very concrete. How can I deal with its inverse image?