Real gases are characterized by their compressibility (z) in the equation PV=zn0RT.
The viscosity of gases is the result in the transfer of each molecule of gas as they pass each other from layer to layer.