The function of HCG during pregnancy is to maintain the corpus luteum (an endocrine structure found in the ovaries, vital for the maintenance of a pregnancy) and causing it to secrete progesterone (this causes the uterus to develop a thick layer of capillaries to help sustain the fetus). Due to its involvement in pregnancy, HCG is only prohibited in males.