We have seen that one-tailed tests are used to determine if the mean of a sample is significantly greater than or less than a hypothesized value.
Two-tailed tests are used to determine if the mean of a sample is significantly different from a hypothesized value.