The Chi-square test serves as a statistical tool used to assess the correlation between two or more categorical variables. It evaluates whether there is a substantial difference between the observed and expected frequencies in a dataset. The test relies the concept of chi-square, which represents the sum of squared differences between the observed