Sex – The biological state of being male or female. The clear physical differences between men and women (and boys and girls) are not dependent on context. These differences are the same in every culture and do not change over time. A person's sex is defined by biology.
Gender – The set of characteristics a culture or society decides is either masculine or feminine. What the culture decides is not necessarily based on biology alone.