Both $180$ and $\pi/4$ are real numbers.
Units are an extramathematical notion related to measurement and indicating how to interpret a real number in some given (for example physical) context.
One can speak of $\pi/4$ degrees and $180$ radians just as one speaks of $\pi/4$ radians and $180$ degrees.
One definition of the sine function is that it is the unique solution of the initial value problem, $\tfrac{d^{2}x}{dt^{2}}= -x$, $x(0) = 0$, $\tfrac{dx}{dt}(0) = 1$ (cosine is defined similarly, with different initial conditions). What might be called the natural units of this solution, $x(t) = \sin{t}$, are radians and not degrees. The functions $s(t) = \sin(\tfrac{2\pi}{360}t)$ and $c(t) = \cos(\tfrac{2\pi}{360}t)$ are what what might be called the "sine in degrees" and "cosine in degrees". However, note that their derivatives no longer satisfy the usual identities. For example, $s^{\prime}(t)$ is not the cosine in degrees function, rather it is a multiple of it, namely $s^{\prime}(t) = \tfrac{2\pi}{360}\cos(\tfrac{2\pi}{360}t) = \tfrac{2\pi}{360}c(t)$. That is $c^{\prime}(t) \neq -s(t)$ and $s^{\prime}(t) \neq c(t)$. The function $s(t)$ solves the initial value problem $\tfrac{d^{2}x}{dt^{2}}= -\left(\tfrac{2\pi}{360}\right)^{2}x$, $x(0) = 0$, $\tfrac{dx}{dt}(0) = \tfrac{2\pi}{360}$.
Put another way, although $(\sin^{\prime}(t), \sin(t))$ parameterizes the unit circle, it is not true that $(s^{\prime}(t), s(t))$ parameterizes the unit circle. If we work in degrees rather than radian identities such as the Pythagorean identity $\sin^{2}(t) + \cos^{2}(t) =1$ fail in the sense that it is not true that $s^{2}(t) + (s^{\prime}(t))^{2}$ equals $1$.
Alternatively, the functions $(\cos(t), \sin(t))$ in radians yield a unit speed parameterization of the unit circle, whereas the functions $(c(t), s(t))$ in degrees only yield a constant speed parameterization of the unit circle. The choice of units corresponds to the choice of normalization of the speed of the parameterization. The non-unit speed parameterization is less aesthetically pleasing because it breaks the symmetry of certain standard identities, and practically a bit unwieldy because of the factors of $\tfrac{2\pi}{360}$ it generates.