The three piles only move one way
One sick person arrives on a campus of a thousand people. Someone who hasn't had it catches it from a sick person and moves from S to I; a sick person who recovers moves to R and doesn't come back. So S only shrinks, R only grows, and I rises first and then falls. The average number of people the first sick person passes it to before recovering is called the basic reproduction number (R0). It is set by how many people a sick person meets each day, the chance of passing it on at each meeting, and how many days a sick person stays infectious, all together.
The bigger R0, the higher it climbs and the more completely it burns through
When R0 is 0.9, each sick person doesn't produce even one new case. Only a dozen or so people get sick in total, and it fizzles out. With R0 at 1.5, about 580 people end up having had it; with R0 at 2, about 800. When R0 is 2, once the people who haven't had it drop to half, only half the people a sick person meets can catch it. 2 times a half is 1, and the number of sick people peaks. After that each sick person passes it to fewer than one, and the number of sick people turns down, but people keep catching it for a while, and in the end about a fifth of people never get it.
With enough immune people, the disease can't take off
People who have recovered and people who have been vaccinated can't catch it, so a sick person has fewer new people to pass it to. The average number of people each sick person passes it to right now is called the effective reproduction number. It equals R0 times the share of people who aren't immune. When the effective reproduction number is below one, the disease can't take off. So the share who aren't immune has to be below one over R0, and the share who are immune has to be above
1−R01
The bigger R0, the smaller the share left for people who aren't immune. For a disease with an R0 of 4, those who aren't immune must be fewer than a quarter; 1−41=43, so more than three quarters must be immune to stop a newly arriving case.
A single short outbreak in a closed group, like a boarding school or a cruise ship, fits the SIR model best: everyone mixes evenly, and people who recover don't catch it again. For diseases where immunity fades, like the common cold, or where people fall into several circles that don't mix, the model goes off. R0 is also not a constant that comes with the virus. It depends on how many people a sick person meets each day, so the same disease gives a different number in a packed city district and in a thinly settled village. Apply one city's R0 to another city and you can be far off.