The t-test uses the t-distribution (a sampling distribution of t) as a method of model comparison when you are evaluating a complex model against the empty model. It is very similar to using the F-distribution for model comparison, and, actually, the t statistic is the same as the F statistic when you're comparing two groups.
Additional Resources