The primary function of red blood cells, or erythrocytes, is to carry oxygen from the lungs to the body tissues and carbon dioxide as a waste product, away from the tissues and back to the lungs. Hemoglobin (Hgb) is an important protein in the red blood cells that carries oxygen from the lungs to all parts of our body.