Bone marrow transplant are common for certain serious illnesses. Which of these functions is restored by doing a bone marrow transplant ?

1. purification of blood
2.exchange of blood gases
3.formation of blood cells