Giraffes are herbivores and mostly feed on leaves, twigs, and fruit. And although they would love to spend time grazing in a lush pasture like a horse, they can't. Because they're so tall and have such long necks they're unable to stay bent over for long periods eating. Eating leaves is much more comfortable and convenient for them.