A kidney, ureter, and bladder (KUB) study is an X-ray study that allows your doctor to assess the organs of your urinary and gastrointestinal systems. Doctors can use it to help them diagnose urinary disorders and causes of abdominal pain.