The hCG (human chorionic gonadotropin) is produced in the body when the embryo gets attached to the wall of the uterine. This usually happens between 6 and 10 days after fertilization.