The study of how life history traits evolve over time and how these traits are shaped by natural selection.