B cells are the major cell type involved in the humoral immune response. When a foreign antigen (one coming from a pathogen, for example) is detected, B cells in the body that recognize that antigen will begin to produce antibodies as a means of fighting off the foreign invader.