mechanism of female reproductive system