How dinosaur extinctions created an environment that contributed to our fruit-eating primate ancestors