Adaptive immunity develops through the activation and clonal expansion of lymphocytes. There are two main types of lymphocytes involved: B cells and T cells. B cells are responsible for producing antibodies, while T cells carry out various functions, including the direct killing of infected cells and the activation of other immune cells. The process begins when these lymphocytes encounter and recognize specific antigens presented by antigen-presenting cells (APCs).