Overall, viruses can induce the expression of IL22 through an IFNβ1–IL7–IL6-axis and successively, IL22 can help defend against viral infection on different levels by regulating 1) viral degradation, 2) viral entry, and 3) viral sensitivity through sugar modifications of extracellular proteins. This evidence concerns the gene IL7 and viral infectious disease.