The function of hemoglobin is:

Destruction of bacteria

Prevention of anemia

To transport oxygen

Utilization of energy