The negative binomial distribution is a discrete probability distribution that models the number of successes in a series of independent Bernoulli trials before a specified number of failures occurs. It is a generalization of the geometric distribution, which models the number of trials until the first success occurs.