Immune cells recognize cancer cells through various mechanisms. T-cells, for instance, can detect abnormal antigens on the surface of cancer cells. These antigens are often presented by MHC molecules, which help the immune system differentiate between normal and abnormal cells.