Bile is a mixture of fat, protein, cholesterol, bilirubin, bile salts and water. Bile that has too much cholesterol, bilirubin or bile salts can harden and form stones.