IUI, also known as artificial insemination, is a fertility treatment that involves placing sperm directly into a woman's uterus during her fertile window. Unlike IVF, which involves fertilizing the egg outside the body, IUI allows natural fertilization within the woman's body.