Pregunta de entrevista de Numberly (1000mercis group)

Why do we use the Chi-squared test?