The function of hemoglobin is:

To transport oxygen

Utilization of energy

Destruction of bacteria

Prevention of anemia