How do you define heredity?