Unlike lions, it does not live in groups. The adult males live separately, and the females live only with their cubs. Leopards live in habitats where there are some trees. They climb trees well, and do so regularly. They can carry prey up a tree and keep it safe from hyaenas and lions. Trees are its main escape from attacks by lions or packs of dogs. It is an ambush predator, and operates best where it has some cover.