Gender is determined by the Y chromosome in the male and the second X chromosome in the female. Once this is decided after impregnation of the egg the rest runs like clockwork. There are genetically controlled switches that form a male or female fetus. Later in life during puberty the sex hormones shape the rest of the body marks. Psychological make-up also depends on genetic and hormone clues.
So, you could say that gender is purely shaped biologically. The psychological aspect falls into place, based on the genetic make-up.
Nature’s purpose of defining gender is to procreate the species.
Sometimes those facts are difficult to take for some stupid people.
Legit go back and read my first response, to which you decided to join this discussion from, and try to understand it. The following is a very simple explanation, just for you.
What you are describing
Gender as is what
Sex is!
Sex is purely biological, and this why every person in the work falls into one of three sexes (XY - male, XX - female, or any other variation - biointersex, hermaphroditism, etc).
Gender is an identity that forms as a result of societies expectations of individuals and groups, predominately on the basis of their
Sex, or other expressed physical characteristics. Though different hormone fluctuations at different points in ones life
could possibly be related to how individuals determine their gender identity (there is a bit of science around this, though no one has been able to prove this point), there is nothing biologically that would make someone identify with a specific gender.
An example of this would be a biological (sex) male with XY chromosomes, who has abnormally high levels of the hormone estrogen, could still easily identify with their sex as being male.
This is why trans identities exist. In my case I am a biological male (sex) and identify as being a male within the context of my society/community (gender) therefore I would be understood to be a cis-gendered male. If I were a biological female (XX) and identify as being a male within the context of my society/community (gender), I would be understood to be a trans-gendered male.
Happy for you to @ me again if you wish to keep going with this.