Correlation measures the degree of interdependence (association) between two variables. If two variables are so related that an increase or…