Curiously "man" is etymologically gender neutral, where wo/wif(man) denoted the female prefix for man, and the male dropped what would otherwise be were(man), seen in for example werewolf, which is gendered.
Yes, "man" is etymologically a person, "woman" is a female person, and "wereman" is a male person. Over time "were" got dropped, but "wo" got kept, so "man" is either a gender-neutral person or a male person, distinguished based on context. E.g. "mankind" is gender-neutral.