PDT, as a promising strategy, can generate reactive oxygen species (ROS) to damage cancer cells and promote anticancer immunity by increasing the secretion of IFN-γ. Here, IFNG is linked to cancer.