Presence or formation of gallstones in the biliary tract, usually in the gallbladder (cholecystolithiasis) or the common bile duct (choledocholithiasis).