The transmission of traits from parents to their offspring.