Which organ in the excretory system has a function similar to that of the esophagus in the digestive system?

The ureter in the excretory system has a function similar to that of the esophagus in the digestive system. The ureter is responsible for carrying urine from the kidneys to the urinary bladder, similar to how the esophagus carries food and liquids from the mouth to the stomach.