Differential equations are mathematical equations that relate a function with its derivatives. In the context of epidemiology, these functions often represent the number of individuals in different compartments such as susceptible, infected, and recovered. The derivatives describe how these numbers change over time.