B cells engulfs bacteria or toxin and then digests it. Then , it represents the antigen on its surface. The b proliferates into memory cells and plasma cells(they act of the foreign substance). Eventually a helper t cell comes on it's way and triggers more cells.