The function of hemoglobin is:

Utilization of energy

Destruction of bacteria

Prevention of anemia

To transport oxygen