The t-test is used when the property's variance in the groups is unknown. When people want to do the t-test they have to calculate the variance from the sample (the collection of data). This calculated variance is almost always different to the true variance in the group. The t-test was created to care about this difference.