The mechanisms concerned are complicated. To have any chance of being familiar with them, we must have a look at how these organs developed. That means likely back again over 400 million decades, to your time properly prior to dinosaurs walked the earth. Till this issue, fertilization was fundamentally exterior: women expelled their eggs into the h