What is the function of the ureters?

Narrow stems that let the waste flow from the kidneys to the bladder.