WASHINGTON: Director James Cameron's "Avatar" movies are populated by a species of outsized blue beings resembling humans, except with tails. So why does our species lack a tail, considering that our evolutionary forerunners in the primate lineage had them?

Scientists identified what might be the genetic mechanism behind the tailless condition of us and our ape ancestors - a mutation in a gene instrumental in embryonic development. The tail was a feature of most vertebrates for more than half a billion years, and its loss may have offered advantages as our ancestors moved from the trees to the ground, they said.

The researchers compared the DNA of two groups of primates: monkeys, which have tails, and hominoids - humans and apes - which do not. They found a mutation in a gene called TBXT that was present in people and apes but absent in monkeys. To test the effects of this mutation, the researchers genetically modified laboratory mice to have this trait. These mice ended up with either a reduced tail or none at all.

"For the first time, we propose a plausible scenario for the genetic mechanism that led to the loss of the tail in our ancestors. It's surprising that such a big anatomical change can be caused by such a small genetic change," said New York University Langone Health geneticist and systems biologist Itai Yanai, who helped lead the study published in the journal Nature.

The absence of a tail may have better balanced the body for orthograde - upright - locomotion and eventually bipedalism, said geneticist and systems biologist Bo Xia of Harvard University and the Broad Institute, the study's lead author.

The mutation that led to tail loss, according to the researchers, occurred roughly 25 million years ago, when the first apes evolved from monkey ancestors. Our species, Homo sapiens, appeared roughly 300,000 years ago.

The evolutionary lineage that led to apes and people split from the lineage that led to today's Old World monkeys, a family that includes baboons and macaques. Hominoids today include humans, the "great apes" - chimpanzees, bonobos, gorillas, orangutans - and the "lesser apes" - gibbons. The earliest-known hominoid, called Proconsul, was tailless.

Hominoids evolved the formation of fewer tail vertebrae, losing an external tail. Vestiges of a tail remain in humans. A bone at the base of the spinal column called the coccyx, or tailbone, is formed from fused remnants of tail vertebrae.

For many vertebrates, a tail has helped with functions like locomotion - think of propulsion by fish and whales - and defense - as with dinosaurs that wielded tails with clubs or spikes. Some monkeys and some other animals have prehensile tails that can grasp objects like tree limbs.

"A tail may be advantageous when you live in trees. As soon as you transition to land, though, it may be more of a liability," Yanai said.

The advantages obtained by going tailless appear to have come with a cost. Because genes may contribute to multiple functions in the body, mutations that confer an advantage in one area may be detrimental in another.

In this case, the modified mice showed a small increase in severe birth defects, called neural tube defects, of the spinal cord, resembling spina bifida in people.

"This suggests that the evolutionary pressure to lose the tail was so great that, despite creating the potential for this condition (neural tube defects), we still lost the tail," Yanai said.

It is an interesting thought experiment to ponder whether humans could have evolved with tails. The Na'vi people of "Avatar," alas, are science fiction.

"I'm a fan of James Cameron's 'Avatar' - it's just a beautiful world, and the Na'vi people use their tails for direct communication," Xia said. "I hope to ask James why he created Na'vi people with tails."