Lymphocytes are a type of white blood cell that are primarily produced in the bone marrow, which is located in the long bones. They are important for the immune system, helping the body defend against infections. The spleen also plays a role in lymphocyte function but not their production.