Bilirubin is a pigment formed during the breakdown of red blood cells and helps assess liver function. High levels can cause jaundice and indicate liver disease, bile duct blockage, or hemolysis. Testing includes total, direct, and indirect bilirubin fractions.