The brachiosaurus was a vegetarian, feeding off young shoots from the tops of trees.