The tangent function is defined as the ratio of the sine and cosine functions: $$\tan(x) = \dfrac{\sin(x)}{\cos(x)}.$$
500px