An independent t-test is used to compare the means of two independent groups on a continuous dependent variable. It tests if there is a statistically significant difference between the population means of the two groups. The test assumes the groups are independent, the dependent variable is normally distributed for each group, and the groups have equal variances. To perform the test, the researcher states the hypotheses, sets an alpha level, calculates the t-statistic and degrees of freedom, and determines whether to reject or fail to reject the null hypothesis by comparing the t-statistic to the critical value.