Gender identity is a person's subjective sense of being male or female, which is different from their biological sex.