The function of hemoglobin is:

Utilization of energy

Destruction of bacteria

To transport oxygen

Prevention of anemia