Sex, the biological distinction between male and female, defined by the gametes the organism produces