White blood cells play an important role in your bodyâs immune system, searching the blood for invading viruses, bacteria, and fungi. When a foreign virus or bacteria enters your blood, the white blood cell, or leukocyte, recognizes and destroys the invading particle before it can cause disease.