Tryptophan metabolism then activates the aryl hydrocarbon receptor (AhR) through the exogenous virus BmNPV, which activates the silkworm’s immune system to defeat BmNPV infections. This evidence concerns the gene AHR and infection.