B cells play a crucial role in the immune system by displaying antigens on their surface, effectively signaling to T helper cells that they have encountered a pathogen. Once activated, B cells transform into plasma cells, producing specific antibodies that target the identified antigens. This process is essential for mounting an effective immune response against infections.