Chi-Square is a family of continuous distribution, widely used in hypothesis tests. The shape of a chi-square distribution is determined by what is known as the degree of freedom (df).
A chi-square test operates by comparing the observed distribution to what you expect if there is no relationship between the categorical variables.