Bilirubin is a waste product from the breakdown of red blood cells. The liver processes bilirubin so it can be excreted in stool. Bilirubin flows through the liver's bile ducts, dissolved in bile. Bilirubin blood levels may be elevated in people with impaired bile flow.