In people, what determines the sex of offspring and exactly why?

In people, what determines the sex of offspring and exactly why? I t was Charles Darwin who originally proposed that the alleged additional intimate traits of male animals — like the elaborate tails of peacocks,…