Genes determine a quarter of the longevity difference between two people.