Collectively, the gallbladder and these ducts are called the biliary system. Bile is a yellow-brown fluid produced by the liver. The liver can produce as much as three cups of bile in a day, the gallbladder can store up to a cup of concentrated bile. Once in the small intestine, bile helps digestive fats in foods. Under normal circumstances, most bile is recirculated in the digestive tract by being absorbed in the intestine and returning to the liver in the bloodstream.
Gallstones are pieces of solid material that form in the gallbladder.
Gallstones form when substances in the bile, primarily cholesterol and bile pigments, form hard, crystal-like particles. Cholesterol stones are usually white or yellow in color and account for about 80 percent of gallstones. They are made primarily of cholesterol. Pigment stones are small, dark stones made of bilirubin and calcium salts that are found in bile. They account for the other 20 percent of gallstones.