T cells perform a variety of tasks, including as destroying infected cells, energizing other immune cells, and controlling the immune response. They can separate into many subsets, each with a distinct function, including helper T cells, cytotoxic T cells, and regulatory T cells.