Endoscopic Retrograde Cholangiopancreatography (ERCP) is a specialized technique used to study the ducts of the gallbladder, pancreas, and liver. It is often performed to remove gallstones, diagnose blockages, and take tissue samples or place stents.