Heredity in organisms and evolution