The t test can be used for three purposes: 1) To compare a sample mean to a population mean, 2) To compare means between two independent samples, and 3) To compare values within one sample measured on two different occasions. The document then provides examples and step-by-step solutions for each of these three applications of the t test, demonstrating how to calculate the t statistic and compare it to critical values to determine if any differences are statistically significant.