How can a $\sin$ have inverse function?
Let's say we have $f:A\rightarrow B$, which means the domain of function $f$ is set A, and the range is set $B$. If we wanted to find $f^{-1}(x)$, that function would be $f^{-1}\colon B\rightarrow A$.
Now, if we apply same logic to $\sin$ we get that $\sin\colon(-\infty, +\infty)\rightarrow [-1,1]$. So how can that have an inverse function?
We would have situations where for the same input we get different outputs, and by definition, a function for every input can have one and only one output.