Yeah everyone's right about the non-binary thing :)
The way I understand things is there's your "gender" identity and then your sexual orientation.
People of any gender can be gay, straight, bi, demi, ace, attracted to bridges sexually or whatever.
For example, I'm a cisgender woman, and I'm homosexual.
(The other terms I hear a lot these days are AFAB and AMAB - Assigned Female At Birth and Assigned Male At Birth. It's way more polite than "female-bodied or "male-bodied" in my circles, and certainly way more polite than asking what's in someone's pants.)
So, I'm cisgender because I was assigned female at birth, AFAB, and I still identify as a woman.
I've got mates who are trans guys - meaning they were AFAB and now they identify as male. Trans women are AMAB and now identify as women.
Gender is... more of a spectrum than a choice between "male" or "female". People who are intersex are born with characteristics of both sexes - there's something like 28 variations on the XY chromosome you can have.
People who are non-binary often don't identify within the binary. One of my NB friends calls it the Gender House. There's a pink room and a blue room in the house. Some people (genderfluid) switch between being in the middle of the pink room to being in the middle of the blue room.
Some people (trans men) grow up in the pink room and then move to the blue room, or vice versa for trans women.
Some people (non-binary) are on the border between the pink and the blue room, or chilling on the roof or in the garden. You don't have to be smack-bang in the middle to be non-binary.
And... some people aren't at the house at all, and have no interest in coming to the house (nongender, agender people.)