The ideal gas law is used to relate volume, pressure and temperature for gases. The ideal gas law is an approximation and is generally more accurate at mild temperatures and pressures. The properties of gases increasingly deviate from ideal as conditions become more extreme, i.e. low temperature or high pressure. In these cases a compressibility factor may be used to correct for non-ideal behaviour when using the ideal gas relationship.