At high pressure and low temperature, real gas deviates from ideal gas. Compressibility factor is used to measure the deviation of real gas from ideal gas.
The compressibility factor is "n" which equals PV/RT.This is equal to one in case of ideal gas and this condition does not hold good for real gas.
At high pressures, the molecules in the gas tend to become closer, resulting in greater intermolecular forces. Internal molecular force holds these molecules together,prevents movement and collision and thus reduces the pressure of the gas much below than that of an ideal gas.
At low temperatures, the kinetic energy of the gas molecules also becomes less thus this results in less collision of the gas molecules and thus finally this results in the decrease in pressure of the gas molecules which would be much lower than that of an ideal gas.
For an ideal gas, the translational kinetic energy is 3/2kT. This condition does not hold good for a real gas.