When food containing fat enters the digestive tract, it stimulates the secretion of cholecystokinin (CCK) from I cells of the duodenum and jejunum. In response to cholecystokinin, the gallbladder rhythmically contracts and releases its contents into the common bile duct, eventually draining into the duodenum. The bile emulsifies fats in partly digested food, thereby assisting their absorption. Bile consists primarily of water and bile salts, and also acts as a means of eliminating bilirubin, a product of hemoglobin metabolism, from the body.