Different animals have different types of habitats. Some live on the ground, some live on trees, some live in water. Due to the difference in habitats, animals require different methods of locomotion. Some need .to fly, some need to swim, some need to walk or to run. Also, the body structure is different in animals. Some animals do not have legs, they move in some other manner. Hence, different animals have different gaits.