Bile: yellow-green, alkaline solution that contains: bile salts, bilirubin, cholesterol, triglycerides, phospholipids, and electrolytes. Bile salts are cholesterol derivatives that function in fat emulsification and absorption. Bilirubin is a pigment formed from heme that gives feces its color.