In the case of real gases, the equation of state, PV = RT (where P, V and T are respectively the pressure, volume and absolute temperature), is strictly satisfied only if corrections are applied to the measured pressure P and the measured volume V. The corrections for P and V arise respectively due to
intermolecular attraction and the size of molecules
In kinetic theory of gases it is assumed that there is no force between molecules But there is actually intermolecular attraction which reduces the pressure. So the correction for P arises due to intermolecular attraction.
The entire volume V of the container is not available for the molecules since the molecules have a finite size. The assumption (in kinetic theory) that the molecules are point masses without appreciable volume is incorrect. So the correction for V arises due to the size of molecules.