functions of reproductive processes