Lymph nodes are small, bean-shaped structures that are part of the lymphatic system. They function as filters, trapping foreign particles such as bacteria and viruses, and play a crucial role in the immune response. Lymph nodes are distributed throughout the body, including in the neck, armpits, and groin.