The passing of traits from parent to offspring.