Bile is isosmotic with plasma and consists primarily of water and electrolytes but also organic compounds: bile salts, phospholipids (mostly lecithin), cholesterol, bilirubin, and other endogenously produced or ingested compounds, such as proteins that regulate gastrointestinal function and drugs or their metabolites.