The ability to extend its head vertically allows giraffes to browse the crowns of small trees.