Ultrasound KUB is a safe and painless test that uses sound waves to create images of the urinary tract, which includes the kidneys, ureters, and urinary bladder (KUB). For male patients, the Ultrasonography for Kidney, Ureter & Urinary Bladder also includes seminal vesicles and the prostate gland.