Let $f:\mathbb{R}\rightarrow\mathbb{R}$ defined by $$f(x)=\left\{ \begin{array}{ll} x, & \hbox{if}\,\,\, x\in \mathbb{I} \\ p\,{{\sin}} \frac{1}{q}, & \hbox{if}\,\,\, x=\frac{p}{q}\in\mathbb{Q},\,\,\, \gcd(p, q)=1 \end{array} \right.$$
To what point is continuous and discontinuous $ f $ and why?