Just because women are the ones who birth children doesn't mean that I brought up "an example that's a biological function primarily to do with women".
64% of practicing gynecologists are men, but only women have vaginas.
You don't have to give birth to children to be a pediatrician or a gynecologist.