The protective effects of T cells are mediated, in part, by their ability to kill cells infected with pathogens.