A positive pregnancy test indicates the presence of the hormone human chorionic gonadotropin (hCG) in your urine or blood. This hormone is produced by the placenta shortly after the embryo attaches to the uterine lining. Detection of hCG is a strong indicator of pregnancy.