The standard deviation of the population, $\sigma$, is hard to obtain in reality, so we need a method to replace it with the sample standard deviation, $S$.
Let $Z$ be a standard normal random variable ($Z\sim N(0,1)$), and $V$ be a chi-squared random variable ($V\sim \mathcal X^2_v)$. ($v$ is the df) If $Z$ and $V$ are independent, then the distribution of the random variable $T=\frac{Z}{\sqrt{\frac{V}{v}}}$ is given by the density function $h(t)=\frac{\Gamma(\frac{v+1}2)}{\Gamma(\frac{v}2)\sqrt{\pi v}}(1+\frac{t^2}{v})^{-\frac{v+1}2}$, $-\infin \lt t \lt \infin$.
This is known as the $t$-distribution with $v$ df(DOF).
Given $X \sim N(0,1),Y\sim \mathcal X^2(n)$,
then $t = \frac{X}{\sqrt{\frac{Y}n}}$.
$t$-value $t_a$ is denoted as the point where the area above it equal to $a$.