Inheritance Definition: From Genetics to Programming

Inheritance, at its broadest, is the process by which information passes from one entity to the next across generations. In biology, it refers to the transmission of genetic material from parent to offspring, governing everything from eye color to disease risk. But the word carries distinct meanings in law (where it describes the transfer of property after death), in computer science (where it describes how one software class acquires properties from another), and in cultural studies (where it describes learned behaviors and traditions passed socially rather than genetically). Because the biological definition is the one most people encounter first and find most confusing, that is where most of the interesting territory lies.

The Classical Mendelian Model

The modern understanding of biological inheritance traces back to Gregor Mendel’s experiments with pea plants in the 1860s. Mendel showed that traits do not blend together like mixing paint. Instead, they are passed as discrete units, which we now call genes. Each parent contributes one copy of each gene to their offspring, and those copies sort independently when reproductive cells form. This “particulate” model of inheritance was a genuine revolution, because the prevailing assumption for much of the nineteenth century had been that parental traits blended irreversibly in offspring. The distinction between blended and particulate inheritance was not originally framed as rival theories but rather as different observed outcomes of breeding, and only later did Mendel’s particulate model displace blending as a mechanism.

During meiosis, the specialized cell division that produces eggs and sperm, each parent’s paired chromosomes are separated so that each reproductive cell carries only one copy of each gene rather than two.1PubMed. Un ménage à quatre: the molecular biology of chromosome segregation in meiosis This is why you inherit roughly half your DNA from your mother and half from your father. When sperm meets egg, the full set is restored, and the combination of gene copies you received determines your traits.

Dominant and Recessive Traits

One of Mendel’s key observations was that some gene variants mask others. If you carry one copy of a “dominant” variant and one copy of a “recessive” variant, only the dominant one shows up in your appearance or function. The recessive variant is still there in your DNA, and you can still pass it to your children, but it stays hidden unless a child inherits the recessive copy from both parents.

At the molecular level, the reason most mutations are recessive is straightforward: one working copy of a gene usually produces enough protein to get the job done. Studies of mutations across many organisms suggest that over 90% are recessive to the normal version.2Journal of Medical Genetics. The molecular basis of genetic dominance Dominant mutations are the exceptions, and they arise through several distinct molecular routes. Sometimes one working copy of a gene is not enough protein to maintain normal function, a situation called haploinsufficiency. Other times a defective protein actively interferes with normal proteins, poisoning the machinery it is part of.3PubMed. Mechanisms of Mendelian dominance The unifying theme across all of these is that dominance emerges from nonlinear relationships in the chain of events that connects a gene to a visible trait.4PubMed Central. The integrative biology of genetic dominance

When Inheritance Is Not Simply Dominant or Recessive

Mendel’s pea plants happened to have traits that fell neatly into either/or categories: purple or white flowers, round or wrinkled seeds. Many real-world traits do not cooperate so cleanly. Two important patterns that complicate the simple dominant/recessive picture are incomplete dominance and codominance.

In incomplete dominance, a person or organism carrying one copy of each variant shows a trait that is intermediate between the two. The classic textbook example is snapdragon flower color: a plant with one red-pigment variant and one white variant produces pink flowers, because a single copy of the red variant makes some pigment but not enough for full red.5Genetics. Clarifying Mendelian vs non-Mendelian inheritance – Section: Extensions of Mendel’s laws and variations in phenotypic ratios In codominance, both variants are fully expressed at the same time rather than blending. Human blood type is the standard example: someone who inherits both the A and B blood-type variants has type AB blood, with both sugar molecules present on their red blood cells. Neither variant dominates or compromises the other.

These patterns sometimes confuse people into thinking Mendel’s laws have broken down, but the underlying mechanics are the same. The gene copies still sort into reproductive cells exactly as Mendel described. What changes is the downstream relationship between the gene products and the visible trait, particularly in individuals carrying two different variants.

Polygenic Traits and Continuous Variation

Height, skin color, blood pressure, and most traits that vary continuously across a population are not controlled by a single gene. They are polygenic, meaning dozens or hundreds (sometimes thousands) of genes each contribute a small effect. No single gene variant pushes your height noticeably in either direction, but the combined influence of many variants adds up. This is why these traits do not sort into neat categories the way Mendel’s pea shapes did; instead, they produce the familiar bell curves of height or weight in a population.6Biological Reviews. POLYGENIC INHERITANCE and NATURAL SELECTION

For most of the twentieth century, the gap between Mendel’s discrete-trait genetics and the smooth, continuous variation seen in traits like stature seemed like a contradiction. The resolution, proposed by R. A. Fisher in 1918, was that a large number of genetic variants with individually tiny effects could produce the continuous distributions observed in real populations.7PubMed Central. Polygenic inheritance, GWAS, polygenic risk scores, and the search for functional variants Modern genome-wide studies have confirmed this: for a trait like height, researchers have identified thousands of gene regions that each nudge the measurement slightly up or down.

The practical consequence is that polygenic traits are difficult to predict from family history alone. You can make rough guesses, such as that tall parents tend to have taller-than-average children, but the variation is wide because so many genetic and environmental factors are at play simultaneously.

Genomic Imprinting and Parent-of-Origin Effects

Standard Mendelian inheritance assumes that a gene works the same way regardless of which parent you got it from. For most genes, that is true. But a subset of genes are “imprinted,” meaning their activity depends on whether the copy came from your mother or your father. In these cases, one parent’s copy is chemically silenced, and only the other parent’s copy is active. If the active copy happens to carry a harmful mutation, you get the disease; if the silenced copy carries the mutation, you may be unaffected.

Parent-of-origin effects are the best-characterized result of genomic imprinting and can influence complex traits as well as rare single-gene disorders.8PubMed Central. Genomic imprinting and parent-of-origin effects on complex traits The Prader-Willi and Angelman syndromes are perhaps the most striking illustration: both involve the same stretch of chromosome 15, but the condition a child develops depends entirely on whether the deletion was inherited from the father or the mother. This is a reminder that inheriting a gene and having that gene be active are two different things.

Mitochondrial Inheritance

Not all of your DNA lives in the cell nucleus. Mitochondria, the tiny structures that generate energy inside your cells, carry their own small genome. In nearly all animals, mitochondrial DNA passes exclusively from mother to offspring. Sperm do contain mitochondria, but their DNA is effectively eliminated before or shortly after fertilization.

The mechanism behind this maternal-only pattern was clarified recently by research showing that human sperm cells are essentially devoid of intact mitochondrial DNA by the time they are mature. During sperm development, a key protein that normally protects and maintains mitochondrial DNA gets redirected away from the mitochondria and into the sperm cell’s nucleus. Without that protective protein, the mitochondrial DNA degrades. So the sperm contributes nuclear DNA to the embryo but arrives with its mitochondrial genetic material already gone.9Nature Genetics. Molecular basis for maternal inheritance of human mitochondrial DNA Why this system evolved in the first place remains an open question, and understanding the processes that prevent paternal mitochondrial DNA transmission is an active area of research.10PubMed. Why and how paternal mitochondrial DNA gets cut out of the inheritance

Plants show more variety. In most plant species, chloroplast DNA (the equivalent of mitochondrial DNA for the photosynthesis-performing organelles) is also maternally inherited. But several plant lineages have independently evolved biparental chloroplast inheritance, meaning offspring receive chloroplast DNA from both parents.11PubMed. Biparental chloroplast inheritance leads to rescue from cytonuclear incompatibility In some species like Pelargonium (the common geranium), both plastid and mitochondrial DNA can be inherited biparentally, producing variegated leaves with visibly different sectors depending on which parent’s organelle genome dominates a given patch of tissue.12PubMed Central. Biparental inheritance of plastidial and mitochondrial DNA and hybrid variegation in Pelargonium Cucumber offers yet another twist: its chloroplast genome is maternally inherited, as expected, but its mitochondrial genome is paternally inherited.13Scientific Reports. Inheritance of chloroplast and mitochondrial genomes in cucumber revealed by four reciprocal F1 hybrid combinations The organelle inheritance rules that feel universal in animals turn out to be surprisingly flexible across the plant kingdom.

Epigenetic Inheritance

Your DNA sequence is not the only thing you inherit that affects how your genes work. Chemical modifications to DNA and its packaging proteins, collectively called epigenetic marks, can also be passed from parent to offspring. These marks do not change the DNA sequence itself, but they change which genes are turned on or off, and how strongly.

Research in rodent models has shown that environmental exposures in one generation can create epigenetic changes in sperm that persist across multiple subsequent generations. Specific patterns of DNA modification induced in the first generation of exposed males overlapped substantially with those found in the sperm of their sons and grandsons, and small RNA molecules carried in sperm appear to play a role in directing where those modifications are placed.14PubMed Central. Integration of sperm ncRNA-directed DNA methylation and DNA methylation-directed histone retention in epigenetic transgenerational inheritance The idea that sperm carry not just a DNA blueprint but also a cargo of small RNA molecules that can shape gene activity in the next generation is a relatively recent addition to the inheritance picture.15PubMed Central. Sperm RNA Payload: Implications for Intergenerational Epigenetic Inheritance

The evidence for epigenetic inheritance in humans is harder to pin down than in lab animals, because you cannot experimentally control people’s environments across generations. Still, there are suggestive findings from historical cohorts exposed to famine or other extreme conditions, and the molecular machinery for transgenerational transfer clearly exists. The field is still working out how reliably these marks survive the extensive reprogramming that normally erases most epigenetic information during early embryonic development.

Inheriting Microbes

One of the more surprising extensions of the inheritance concept involves the microbiome: the community of bacteria and other microorganisms that live in and on your body. Mothers transmit specific microbial strains to their infants during birth and early life, and this “vertical transmission” of microbes has measurable effects on the infant’s gut ecosystem.

Strain-level genomic analysis has confirmed that mothers and their infants share identical bacterial strains that are clearly distinct from those carried by unrelated mother-infant pairs. In one study, a strain of Bifidobacterium bifidum in an infant matched its mother’s at over 99.9% sequence identity while differing from the same species in other infants by at least 0.6% of nucleotides, a degree of similarity too close to be coincidence.16PubMed Central. Studying Vertical Microbiome Transmission from Mothers to Infants by Strain-Level Metagenomic Profiling – Section: Strains shared between mothers and infants are indicative of vertical transmission This vertical transmission of microbiota is increasingly recognized as a source of variation in offspring traits with potential ecological and evolutionary significance.17PubMed. The Microbiome as a Maternal Effect: A Systematic Review on Vertical Transmission of Microbiota

Whether microbial inheritance “counts” as inheritance in the traditional genetic sense is partly a semantic question. These microbes are not encoded in your nuclear DNA, but they are reliably passed from parent to offspring, they shape the offspring’s physiology, and they can themselves evolve. Researchers in the extended evolutionary synthesis treat this kind of “inclusive inheritance” as a genuine channel of heredity, alongside genetic and epigenetic transmission.18PubMed Central. The extended evolutionary synthesis: its structure, assumptions and predictions

Cultural Inheritance in Animals

Inheritance does not have to involve molecules at all. Many animal behaviors are transmitted socially rather than genetically, passed from experienced individuals to naïve ones through observation and learning. This process, called cultural inheritance or cultural transmission, meets the functional definition of inheritance: information that flows across generations and shapes how the next generation behaves.

Bighorn sheep and moose provide a clear example. When populations were translocated to unfamiliar habitat, the animals initially did not migrate, even though historical populations in similar landscapes had robust seasonal migration routes. Over multiple decades, the translocated populations gradually learned to track the seasonal flush of nutritious forage and began migrating. The knowledge had to be rebuilt from scratch through learning because it had been lost when the original culturally informed population was removed.19PubMed. Is ungulate migration culturally transmitted? Evidence of social learning from translocated animals Migration routes, in other words, are inherited culturally, not genetically, and losing a population means losing generations of accumulated knowledge about the landscape.

In primates, the evidence for cultural inheritance is even richer. Chimpanzees show community-specific social customs, like the “grooming handclasp,” whose stylistic preferences differ between groups and are transmitted through social learning. Research on two chimpanzee communities found that older and higher-ranking individuals exerted more influence on their partners’ handclasp styles, and individuals gradually converged on their group’s preferred style over time, a pattern consistent with conformity bias in cultural transmission.20PubMed Central. Biased cultural transmission of a social custom in chimpanzees Wild capuchin monkeys similarly learn extractive foraging techniques through direct observation of successful individuals, with social tolerance between animals predicting who learns from whom.21PubMed Central. Social tolerance and success-biased social learning underlie the cultural transmission of an induced extractive foraging tradition in a wild tool-using primate

Niche Construction and Ecological Inheritance

Organisms do not just passively receive the environment their genes must cope with. They actively modify their surroundings, and those modifications persist long enough to affect the conditions experienced by the next generation. Beavers build dams that reshape entire watersheds for their offspring. Earthworms alter soil chemistry in ways that benefit later generations of worms. Humans, of course, are the extreme case, constructing everything from agriculture to cities that fundamentally alter the selection pressures on future populations.

This process is called niche construction, and the altered environment that gets handed down is sometimes termed “ecological inheritance.” It sits alongside genetic, epigenetic, and cultural inheritance as another channel through which one generation shapes the next. Niche construction theory argues that organisms co-direct their own evolution and that of other species, and that concepts like gene-culture co-evolution are needed to fully account for how populations change over time.22PubMed Central. Why an extended evolutionary synthesis is necessary – Section: 3.6. Niche construction Whether you think of a termite mound or a dam or a planted field, the structure outlasts the individual that built it and changes the world that the next generation inherits.

Language as Inherited Information

Human language is one of the most complex systems transmitted across generations, and it follows rules that are distinct from both genetic inheritance and technological change. Like genes, languages can be arranged into family trees, because their transmission is primarily vertical: children learn language from their parents and surrounding community. Unlike technology, which can be adopted wholesale from a distant source, languages change through continuous intergenerational transmission in ways that leave traceable historical signals.23PubMed. Language follows a distinct mode of extra-genomic evolution

Researchers have compared genetic and linguistic variation across world populations to test whether language tends to be preferentially transmitted through the male or female line. The picture turns out to be messy. There is little evidence for a consistent global sex bias in language transmission, but local patterns do exist in certain regions, and population-level social practices like female-based descent or residence patterns may influence which parent’s language community children end up belonging to.24PubMed Central. Genetic and linguistic comparisons reveal complex sex-biased transmission of language features The interplay between genetic and linguistic inheritance highlights that what you inherit from your parents goes far beyond chromosomes.

Inheritance in Object-Oriented Programming

Outside of biology entirely, the word “inheritance” has a precise technical meaning in computer science. In object-oriented programming, inheritance is the mechanism by which one class of software objects acquires properties and behaviors from another class. A “vehicle” class might define basic attributes like speed and fuel capacity; a “car” class could inherit all of those properties and add car-specific ones like number of doors. The child class gets everything the parent class has without the programmer needing to rewrite it.

Inheritance in programming can be single, where a class inherits from only one parent, or multiple, where a class inherits from several parents simultaneously. Single inheritance is simpler and easier to reason about, while multiple inheritance allows a more natural representation of complex real-world relationships but introduces complications when two parent classes define conflicting behaviors.25ACM SIGPLAN OOPS Messenger. Single versus multiple inheritance in object oriented programming The biological metaphor is surprisingly apt: just as a child inherits traits from both parents that occasionally conflict, a software class inheriting from multiple parents can face ambiguity about which version of a shared property to use.