What is the use of lymphocyte?

it is for immunity T-cell is for attack and B-cell is for anti body