B cells are responsible for the production of antibodies, also known as immunoglobulins. These antibodies help neutralize pathogens and facilitate their elimination by other immune cells.