Cancer cells can produce various substances that inhibit the immune system. For instance, they can secrete cytokines like TGF-beta and IL-10, which are known to suppress immune activity. Additionally, cancer cells can express proteins like PD-L1 that bind to receptors on immune cells, effectively turning them off.