GO:0002456: T cell mediated immunity
Any process involved in the carrying out of an immune response by a T cell.