'"sex" refers to the biological differences between males and females... "Gender" is more difficult to define, but it can refer to the role of a male or female in society, known as a gender role, or an individual's concept of themselves, or gender identity.'
Medical News Today