B cell make antibodies that bind to antigen to deactivate it.
There are many types of T cells and cytotoxic/killer T cell actually combine with the cell displaying antigen to release chemicals that will destroy the cell.
They will both function together to overcome a viral infection