Koalas have a diet that consists mainly of eucalyptus leaves, which are low in nutrients and hard to digest. Sleeping for long periods allows them to conserve energy and process their food.