The gallbladder produces bile. When the organ is diseased or affected by stones, bile spreads to cells in the entire body instead of going into the stomach and intestines to help digest food. This leads to jaundice with cholecystitis.