"Hysterosalpingograms (HSGs) are an X-ray dye test to identify reproductive issues. An HSG involves filling your uterus and fallopian tubes with a specific dye and taking an X-ray of the results.
Your doctor can identify problems with your reproductive anatomy that might prevent you from conceiving using an HSG. Problems like this include a uterus with an inappropriate shape or size ... https://sahyadrihospital.com/videos/hsg-test-for-blocked-fallopian-tubes/