Genetic and environmental factors affect which traits are passed on from parent to offspring over generations and how they are passed on. Favorable traits for a given environment are passed on from parent to offspring. Unfavorable traits are selected against and inherited less frequently over time because they do not promote survival and reproduction.