Giraffes can be found in various habitats in sub-Saharan Africa, including savannas, grasslands, and woodlands. They are herbivores and primarily feed on leaves, with their favorite leaves found on acacia trees.