How do genetics and heredity contribute to the inheritance of traits and the dev