The Chi-square test acts as a statistical tool used to assess the relationship between two or more categorical variables. That measures whether there is a substantial difference between the observed and expected frequencies in a dataset. The test utilizes the concept of chi-square, which indicates the sum of squared differences between the observed