How will the earth die?