Toll-like receptor 7 (TLR7) and Stimulator of Interferon Genes (STING) ligands possess a series of immunomodulatory effects such as anti-infection, anti-tumor, and autoimmune-disease-alleviating effects. This evidence concerns the gene TLR7 and infection.