Most importantly, the primary function of red blood cells is to transport oxygen from the lungs to the cells of the body. ... The iron in hemoglobin gives blood its red color. White blood cells (WBCs), or leukocytes, are a part of the immune system and help our bodies fight infection.