Some types of Th17 also produce IL-22 that has a pathogenetic role in psoriasis but a protective one in IBD. Here, IL22 is linked to inflammatory bowel disease.