This is a special kind of x-ray “dye test” that is performed by a radiologist to gain information about the uterus and Fallopian tubes. The HSG provides information about anatomical problems that might contribute to infertility.