White blood cells play a crucial role in preventing diseases by identifying and destroying pathogens, which helps eliminate infections; producing antibodies that neutralize toxins and viruses, providing immunity against future infections; and removing dead cells and debris, which helps maintain tissue health and prevent the spread of infections.