Demographic parity measures whether a model's predictions are independent of sensitive group membership, aiming for equal positive prediction rates across all groups. It's used to detect and prevent historical biases, often by modifying training data to achieve balanced outcomes.