Mathematical models can simulate how diseases spread during a pandemic. This helps forecast how many hospital beds will be needed, even early on when there is uncertainty.