A compartmental model in epidemiology is a mathematical framework used to simplify the complex dynamics of infectious disease transmission. It divides the population into distinct groups, or compartments, based on disease status. These statuses often include susceptible, infected, and recovered individuals, commonly referred to as the SIR model.