The Gini coefficient is a statistical measure that quantifies the degree of inequality in the distribution of income or wealth within a population. It ranges from 0, which represents perfect equality where everyone has the same income, to 1, which indicates complete inequality where one person has all the income and everyone else has none.