Original: The bilirubin results from the breakup of the hemoglobin of dead red blood cells; normally, the liver removes bilirubin from the blood and excretes it through bile.
Simplified: The hemoglobin becomes bilirubin (a yellow substance that makes bile yellow.) The liver takes the bilirubin out of the blood and puts it into the bile.