Sex is an activity. Gender is a state, not only reserved as a language construct.
It has more than one meaning. My sex is male. My wife’s sex is female. Everyone is born of the male sex or female sex.