The Brachiosaurus was a herbivore, primarily feeding on high-growing vegetation such as tree leaves and branches. Its long neck allowed it to reach food sources that were out of reach for other herbivorous dinosaurs. To process the large amounts of plant material it consumed, the Brachiosaurus likely had a fermenting gut, similar to modern-day large herbivores, which allowed it to break down fibrous plant matter efficiently.