Heredity material passes from parent to offspring during