Lemurs live in the forests of Madagascar and other nearby islands off the coast of Africa; they are also the only primates found on these islands, and therefore have little competition for resources. They are mostly arboreal (live in trees), but some are more terrestrial. Many are vertical clingers and leapers (launch off a tree or branch with strong back legs and land upright on another branch), and use their long bushy tails to help them balance while jumping to and from branches (but not to grab onto branches like many related species.)
Lemurs that are mostly vertical clingers and leapers hop sideways when travelling on the ground (which is both funny and adorable in my opinion).
Some of the arboreal and the terrestrial species are quadrupeds (walk on all four limbs).
Not only are lemurs the only primates on these islands, but they are more or less the only arboreal species as well; this caused them to evolve and fill the niche normally occupied by animals such as squirrels, etc. Their locomotion allows them to easily reach nuts, fruits, etc in their environment.
Spider Monkeys are “New World” Monkeys; ie they live in Central and South America, in the tropical rainforests. They are arboreal and quadrupedal, as well as semibrachiators (they can also move by using their long hook-like hands and long arms to swing from branch to branch).
Their tails function as a “third hand” and are used in their locomotion to grasp branches; they also allow them to hang from branches, causing the Spider Monkey to not only exert less effort to support itself, but also to free both hands in order to gather and eat more fruit.
Baboons are “Old World” Monkeys, and live in Southern Asia and Sub-Saharan Africa. They can be found in tropical jungles, semiarid deserts and in snowy mountains in northern Japan. They are quadrupedal and mostly terrestrial, and live in the trees at night. Their limbs are more proportionate, allowing them to be suited a wide variety of environments, instead of specializing in brachiation or leaping for arboreal locomotion, like the Spider Monkey or Lemurs.
Gibbons are found in tropical and subtropical rainforests in southern Asia (Indonesia, Vietnam, Myanmar, etc). They are mostly arboreal and are the most brachiated of the primates; their arms are so long that when walking of the ground they move bipedally with their arms raised at their sides.
Gibbons have powerful shoulders and long curved fingers that they use to swing and move from tree to tree, as well as for hanging from branches while they eat. Their wrists also have a ball and socket joint, which reduces the energy used and the stress on the shoulder while swinging.
Chimpanzees live only in Africa’s tropical forests and savannas. The different climates range from constant humidity and temperature to arid areas with fluctuating humidity and temperature.
Their arms are slightly longer than their legs, and are mostly quadrupedal (and walk on their knuckles like gorillas) unless they are carrying something, where they temporarily walk bipedally.
They can also brachiate (using opposable thumbs and big toes to grip branches), and are both arboreal and terrestrial.
Due to the differences in their climate, chimps have adapted to being able to acclimate to changing environments (quadrupedal in savannas, brachiate in forests, etc).
The environment has a major effect on how traits are expressed; this is obvious when looking at the difference between just lemurs and every other species of primates. Lemurs were isolated on the islands of Madagascar and adapted to fill the arboreal niche; they look completely different and have different traits from chimps, bonobos, gibbons, etc; they are the only ones of the groups observed here that are vertical clingers and leapers, while the other groups have similar locomotion (most are quadrupedal or brachiate, or both).