Gender is a social construct made up of various factors.
Broadly speaking, gender is the vibes that someone gives off. There are various diagrams used to explain this.