The chi-square goodness-of-fit test is a statistical test used to determine if a sample of data fits a particular probability distribution. It is commonly used to evaluate whether the observed frequencies of categorical data match the expected frequencies under a hypothesized model.