T-lymphocytes directly attack cancer cells while B lymphocytes act via cytokines like interferon-gamma and tumor necrosis factor-alpha. Here, TNF is linked to cancer.