A urea breath test detects breath bacteria that cause inflammation and ulcers in the stomach.