Pregnancy tests detect Human Chorionic Gonadotropin, or HCG, that can be found in a pregnant woman's urine. Human Chorionic Gonadotropin is secreted by the embryo and serves to maintain the corpus luteum and the production of estrogen and progesterone.