Heredity is the transmission of genetic material from parents to offspring.