No, they are not the same thing.
Gender is a social construct and it is how we identify and classify others based on how we think they should act or look. For example, a woman should wear dresses and like pink, while males should wear pants and not like pink. Gender is basically if you see someone for the first time and before you even talk to them you classify them as male or female purely based on how they dress or look. Gender is a social construct and just because sex and gender use the same categories in their classification of people does not mean that they are the same thing.
Sex is biological and it refers to chromosomes and reproductive roles. There are multiple sexes in science however humans generally classify as three main categories, male, female and intersex (hermaphrodite is incorrect because scientifically humans are not meant to have both parts at once in order to reproduce, therefore intersex is the correct term). The category of intersex refers to anyone who is born with any sexual inconsistencies, like a girl born with no breasts, or a male born with a nonfunctioning uterus. Intersex can also refer to any human born with chromosomal abnormalities.
It is very easy to find out information on sex and gender and if anyone finds themselves confused on the differences between the two I would advise you to do a little research. Also knowing the difference between sex and gender will not make you a ?SJW? it will just make you more informed on science and how humans are classified.
inb4 they close this thread bc google can answer
^^^^^
Like, this isn't directed towards you personally, but.. I will never understand why people pose this (or better yet - what you linked in the thread) as a question. Being uninformed is one thing (which is completely normal), but like.. it's not a question. It's a fact.
There are multiple articles and posts out there stating, in explicit detail, why the two are completely different things, why it's all a social construct, why trans/non-binary people are and always have been real/valid, and so on. It's not a matter of opinion. It's not debatable. It's an irrefutable scientific fact.
So if somebody is asking because they are curious or do not understand it, that's cool beans. We've all been there. (I'm trans and I still have a million things to learn about non-binary people, for example) But when people pose these things as a question - which implies that it is a matter of opinion, which it is not - then it really irks the heck out of me.
Like.. if people refuse to accept the truth, then aight. It's still a fact, though. So have fun refusing to face the truth. lol
(again, not directed at you personally, OP. just reminded me of somethin' that always gets on my nerves)