The function of hemoglobin is:

Utilization of energy

Prevention of anemia

To transport oxygen

Destruction of bacteria