Define $X=\lbrace (0,y) \in \mathbb{R}^2|y \in \mathbb{R} \rbrace$ and $Y=\lbrace (x,y) \in \mathbb{R}^2|x>0, y=$sin$(\frac{1}{x})\rbrace$. Prove that $X \cup Y$ is connected but not path connected.
I know the definitions of connected and path connected spaces, but I don't know how to start with this exercise. Can anyone help me out?