The z-score method is a statistical technique used to identify outliers within a dataset. It involves calculating the standardized distance of each data point from the mean, allowing for the identification of observations that are significantly different from the rest of the data.