Consequently, Th22/IL-22 has both a protective and a proinflammatory role in viral infections, which is greatly affected by factors such as the subtype of virus, the severity of infection and the presence of IL-17A. This evidence concerns the gene IL22 and infection.