Time for an anatomy pop quiz: Do you know where your gallbladder is? This small, pear-shaped organ is located beneath your liver on the right side of your abdomen. Its primary function is to hold bile, a fluid produced by the liver that’s released into your small intestines to help you digest fatty foods. Sometimes, hard deposits called gallstones can build up in your gallbladder. What Are Gallstones? Gallstones are hardened deposits of digestive material. They can be as small as a grain of sand, the size of a pebble or even as large as a golf ball. Two main types exist: cholesterol stones