Without food herbivores would be unable to survive, and consequently the carnivore dinosaurs would no food to eat, hence their extinction.
(consequently the carnivore dinosaurs would no food; to eat; )
consequently the carnivore dinosaurs would no food
to eat