B cells, also known as B lymphocytes, are a type of lymphocyte. They function in the humoral immunity component of the adaptive immune system.