Gender is different from what type of sex a person can be.
The type of sex a person is what you are born with, and gender deals with cultural values, which means how you present yourself. It can be considered the difference between who has the characteristics of feminine and masculinity. These days a person can have the sex of a male, but present himself or herself like a woman, it can be the same with a person with the sex of a woman. People can also act like a woman and man at the same time. Gender shows up everywhere you go.