The primary function of lymphocytes is immunologic.