In a phenomenon known as antagonistic pleiotropy (“pleiotropy” is the technical term for a gene that has multiple effects), a gene that helps us survive and reproduce when we are young might turn out to be harmful when we get older. One infamously extreme example is a mutation that improves immune function earlier in life but causes Huntington’s disease (a fatal form of brain degeneration) in middle age.

