Confused by terms (LGBTQ)

Hi everyone! I was watching a video and i’m just confused, when the term trans man is used, is this describing someone who has transitioned to be a male or someone who was male pre-transition. Same with a trans woman.

Thanks in advance x