The mathematical technique of correlation is used to summarize data and determine the degree and direction of the relationship between two or more variables. It is particularly useful in scenarios where manipulating the variables is impractical or unethical.