Let $\beta\mathbb{R}$ be the Stone-Čech compactification of the real line (with its usual topology). Let $\sin^\beta\colon\beta\mathbb{R}\to[-1,1]$ be the unique continuous extension of $\sin\colon\mathbb{R}\to[-1,1]$ to $\beta\mathbb{R}$. Explain why the closed set ${\sin^\beta = 0}$ of $\beta\mathbb{R}$ is strictly larger than the closure in $\beta\mathbb{R}$ of the subset ${\sin = 0}$ (which is just $\pi\mathbb{Z}$) of $\mathbb{R}$.
The key idea is to choose points that escape to infinity while their sine values tend to zero, but which can still be distinguished from the actual zeros by a bounded continuous function. That distinguishing function also extends to the Stone–Čech compactification, and will keep the new point outside the closure of the zero set.