Sex, reproduction, and longevity