The study of how organisms change over time, including the mechanisms of natural selection and genetic drift.