CD8+ T cells, also known as cytotoxic T lymphocytes, play a crucial role in the immune system by directly killing infected cells and cancer cells. They are activated by recognizing antigens presented by MHC class I molecules and are essential for controlling intracellular pathogens and tumor surveillance.