However, when PD-L1 is expressed in cancer cells and interacts with PD-1 receptor in immune cells, it can inhibit the immune response, leading to a reduction in perforin and granzyme B expression and secretion. This evidence concerns the gene PRF1 and cancer.