For my fantasy story, I was trying to conceive of a three-gendered species for more uniqueness. I finally thought up an idea that might make biological sense. For mammals, the male sex has the sperm cells while the female sex has the egg cells and gives live birth to children. For fishes, amphibians, reptiles, and birds; the male sex has the sperm cells while the female sex has the egg cells and lays eggs.
My idea is that for a humanoid species called Nesians, they have three sexes: a male sex, a female sex, and a surrogate sex. The male sex has the sperm cells, the female sex has the egg cells, the surrogate sex doesn't have sex cells, but they have a uterus. How reproduction works is that the male sex and female sex exchanges genes and create a zygote, and then later on the male sex copulates with the surrogate sex, depositing the zygote at the end. If the male doesn't deposit the zygote within two weeks, the zygote dies. The surrogate sex is also the one who breastfeeds.
So effectively, Nesians offload the task of carrying and birthing children onto a completely different sex within their species. The advantage of this system is that since female Nesians don't have to worry about pregnancy or menstruation or other female health concerns, they can be just as large/strong as male Nesians and work all the time. This means that 2/3 of the population can be devoted to physical labor or being a soldier instead of only 1/2; that is a 1/6 increase. The disadvantage is that sexual reproduction now requires three individuals instead of 2.
Nesians effectively have the benefits of artificial wombs or xenopregnancies at a much earlier stage in history. Only 1/3rd of the population will also suffer from a physical disparity instead of 1/2 of it.
Assuming evolution created a species this way, would they have a major advantage over humans when it comes to pre-industrial society due to a greater strong labor pool? Or is there some unintended consequences that I'm missing that will ruin everything?