Cancer vaccines aim to stimulate the immune system to recognize and destroy cancer cells. There are two major categories: specific vaccines target individual cancer types, while universal vaccines can target many cancer types. Cancer vaccines work by exposing the immune system to tumor antigens, stimulating immune cells to produce a targeted attack on cancer. Current clinical trials are testing vaccines for cancers like melanoma, lung cancer, and prostate cancer, with some showing improved survival rates.