adaptive immunity.
When antibodies are produced by lymphocytes, the body is conducting adaptive immunity.
Adaptive immunity is the body's way of identifying the presence of an antigen, recognizing what type of antigen it is, and producing antibodies that are specifically designed to attacked the said antigen.