Sex refers to the biological categories of male and female. Gender refers to the social categories of masculine and feminine expectations.