Compressibility factor $Z$ is a correction factor which gives the deviation of a real gas from an ideal gas. It is the ratio of the molar volume of a gas to the molar volume of an ideal gas, at same $T$ and $P$. Here as the temperature increases, $Z$ starts approaching towards one and then the gas starts behaving ideally.