Mahalanobis distance is a statistical measure that quantifies the distance between a point and a distribution. It takes into account the covariance structure of the data, allowing it to identify outliers that may not be detected by Euclidean distance.