Gallstones are the accumulation of fat and cholesterol in the gall bladder or biliary ducts that causes pain in the…