On the one hand, IDO exerts immunosuppressive effects on the cellular microenvironment, leading to infections and immune escape of tumor cells; on the other hand, it also exerts suppressive effects on pathogens, such as bacteria and parasites, protecting the organism from pathogens to some extent. Here, IDO1 is linked to infection.