A t-test is an inferential statistic used in hypothesis testing to determine if there is a statistically significant difference between the means of two samples.