I have seen that circle is not function in high school. Why? Because, consider the simply circle equation $x^2+y^2=1$ centered at $(0,0)$ and radius is $1$. And notice that whenever $x=1/2$ then $y$ can be $\sqrt 3 /2$ and $-\sqrt 3/2$.So clearly it is not a function.
Now, I have recently seen the following as follows: function $f: [0,2\pi] \to S^1$ define by $f(t) =(\cos t, \sin t)$ is a continuous bijection. (OR it can be defined $e^{2\pi it} $)
$S^1$ states a circle. $S^1=\{(x,y) \in \mathbb R^2 : x^2+y^2=1 \}$
My question is this circle is not a function but how can $f$ be function? What is the thing I can not see?