Biological sex (male, female, intersex) refers to the physical aspects of your body, such as primary sex characteristics (reproductive organs), secondary sex characteristics (body hair, breasts, fat distribution, etc), hormone levels (estrogen, testosterone), and chromosomes.
Gender (man, woman, nonbinary, other terms) is more about an internal sense of self, how you see yourself and how you want your body to be, as well as what social category you belong in.
A trans woman is a person who was biologically male at birth, but sees herself as a woman/wants her body to align with her gender (woman). Not all trans women medically transition, and that's ok, but for those who do, it can change various aspects of their biological sex, such as hormone levels and secondary sex characteristics, so it may not be entirely true to say that trans women (post transition) are biologically male either.

