A man is most commonly (by percentage of total adult human population) an XY male, with a penis/testes, and produce sperm.
A woman is most commonly (by percentage of total adult human population) an XX female, with vulva/vagina/uterus/ovaries and breasts, and produce eggs. Older women (after menopause) no longer produce eggs and so have neuter gametic sex.
Pre-pubescent children don't produce gametes, and thus have neuter gametic sex.
A trans man is an XX female, possibly with surgical alterations to physiological sex, possibly with hormone replacement therapy to alter hormonal sex, and possibly (if either of the two former are present) with neuter gametic sex. Being a man does not require being male.
A trans woman is an XY male, possibly with surgical alterations to physiological sex, possibly with hormone replacement therapy to alter hormonal sex, and possibly (if either of the two former are present) with neuter gametic sex. Being a woman does not require being female.
Other combinations are possible.
Confusing gender with the various forms of sex and sex characteristics is unnecessary and causes confusion.