In an ABM, the population is represented by a set of agents, each with defined attributes and rules governing their behavior. These agents interact within an environment, which can be spatial (e.g., a geographic area) or network-based (e.g., social networks). The model simulates time steps during which agents make decisions, interact, and potentially transmit the disease. The outcomes of these interactions are aggregated to observe the overall impact on the population.