Jaundice is a condition where the skin, whites of the eyes, and mucous membranes turn yellow due to the buildup of bilirubin in the blood. Bilirubin is a yellow pigment that is produced when haemoglobin, a protein in red blood cells that carries oxygen, is broken down. Jaundice can occur due to several underlying conditions that affect the normal metabolism or excretion of bilirubin.