Why is the liver important in removing dead red blood cells?

The liver is important in removing dead red blood cells because it breaks the dead red blood cells into bilirubin which is coverted to bile and stored in the gall bladder and ferratin which is converted to iron and stored in the liver