KUB is commonly used to look into gastrointestinal issues such as bowel obstructions and gallstones, and it can also detect kidney stones. Because stool can be seen easily, the KUB is frequently used to diagnose constipation.