It isn't really that hard, just a little google search could explain it for you. Nikki runs based on biology (sex) but identifies a different gender role.
Sex generally refers to an organism's biological sex, while gender usually refers to either social roles typically associated with the sex of a person (gender role) or personal identification of one's own gender based on their own personal sense of it (gender identity).