Leopards spend most of their sleeping and eating hours in trees, where they are safe from lions and hyenas.