Pregunta de entrevista de Systematica Investment

What is chi2 distribution? Why do we use this in testing?