The gallbladder is a small pear-shaped organ located under the liver. Its role is to store and collect bile juice, which is greenish-yellow in color and is secreted by the liver. When you eat greasy food, bile juice is released into the small intestine (duodenum) to help in the breakdown of fats.