iRobot interview question

What is Chi Square test used for