A T cell is a type of lymphocyte, a white blood cell. T-cells plays an important role in the immune system. They attack infected cells, foreign cells, and cancer cells and completely destroy them. This stops viruses or cancer from spreading to healthy cells.