Giuliana and Bill Rancic
As Giuliana and Bill Rancic's struggle with fertility has been well publicized, they announced on April 23 that they're expecting a baby via gestational surrogate. REUTERS/Danny Moloshok

As Giuliana and Bill Rancic's struggle with fertility has been well publicized, they announced on April 23 that they're expecting a baby via gestational surrogate.

We've been trying for so long, we've been through so much, and, especially we just had such a hard year last year with the breast cancer and everything and to finally get that call from the doctor of, you're pregnant -- or, you're having a baby! Giuliana said on the Today show.

Rancic went into detail on the show about how she herself is not quite pregnant, but the happy news comes thanks in part to a third party.

The couple, who married in 2007, chose to have a baby through a gestational surrogate after the E! Red Carpet host suffered a miscarriage in 2010, a breast cancer diagnosis in 2011, and a double mastectomy later on that same year.

While the inability to have a baby is a somewhat common misfortune, going through a gestational surrogate is the next best option.

The process allows a couple to have a biologically related child by using a surrogate as the carrier for the couple's embryo.

When a woman is unable to conceive naturally or through fertility treatments, both of which Rancic had tried, the aid of a gestational surrogate is what is typically sought out.

By going through an agency or doing it privately, the gestational surrogate is selected by an infertile couple. Then, eggs and sperm from the biological parents are extracted though in-vitro fertilization and combined to create embryos.

Usually, one to three embryos are placed in the surrogate's uterus through a catheter inserted through the vagina, though some couples choose to implant more

After an embryo is successfully implanted, the couple and surrogate experience the pregnancy together through doctor's visits and ultimately, the birth.

One of the benefits that make a gestational surrogate such a popular option for an infertile couple, is that it allows them to have a biological child they could not otherwise have.

Since the child biologically belongs to the intended parents, the parents have more legal rights to the child than they would with an adopted baby whose mother changes her mind.

We are so thrilled that our prayers have been answered, she separately told E! News.

We are absolutely ecstatic to be sharing this with everyone who has been following our journey, her husband said.

The Rancics star on Style Network's, Giuliana & Bill, which is in its fifth season.