Why real gases don't perfectly obey PV = nRT — and when the difference matters most.
Both boxes hold the same number of particles at the same temperature and container size. The left box uses the ideal gas model (point particles, no forces between them). The right box adds two real effects: particles have actual size, and nearby particles attract each other.
Try it: set Temperature high and Density low — the real-gas box should look almost identical to the ideal-gas box. Then reverse both and watch the real-gas particles start to clump.
Particles are spread far apart, so the container is huge compared to the tiny space they actually occupy — particle volume barely matters. High speed means particles zip past each other before attraction has time to act, and they hit the walls hard enough that any weak attractive tug barely registers. Both real-gas effects shrink toward zero.
At high pressure the container shrinks until the particles' own volume becomes a real fraction of the total — the "particle volume" effect. At low temperature, particles move slowly and linger near each other, giving interparticle attraction time to actually pull them off course. Push both far enough together and the gas approaches condensation, where the ideal gas model stops making sense at all.