Sex is a biological construct - what's in your body. Gender is a social construct - what's in your heart and mind. And the two aren't always connected.