Scientists have discovered that volcanic eruptions from the Andes Mountains millions of years ago cooled Earth's climate.