While sexual orientation refers to the direction of one's sexual interests, gender identity refers to the gender that a person believes he or she is psychologically.
Gender identity is is the sense of belonging to the male or female sex. There are three categories: masculinity , femininity and androgyny (both).