Sexism is the hatred or discrimination against people based on their gender/biological sex. Sexism against men is called misandry, and sexism against women is called misogyny.

in relation to transgender identities

Trans people can suffer sexism against their assigned sex, against the gender others perceive them as and/or against their preferred gender.
