Answer: Savanna, Woodland, or Grassland.
Giraffes eat new shoots and leaves, their habitat needs to have a good supply of trees -- they flock towards acacia trees in particular. Giraffes use their extremely long legs, necks and tongues to browse mainly from the thorns on the acacia tree. The tongue and the inside of the mouth are lined with tough tissue that protects against the thorns.