Genes and the environment together build the phenotype
An organism's genes do not control its traits alone. Instead, the phenotype is the result of the interaction between the organism's inherited genetic code and the environment where it grows and lives.
To understand this, biologists make a genotype–phenotype distinction. The genotype is the inherited genetic information that an organism carries in its DNA. You can think of the genotype as a set of instructions, while the phenotype is the finished result. Biologists write this relationship as a simple formula:
Genotype (G) + Environment (E) → Phenotype (P)
Some traits come almost completely from the genotype. For example, in Labrador Retriever coat colour genetics, specific genes control whether a dog has black, brown, or yellow fur. The environment has very little effect on this trait.
For most traits, however, the environment changes how the genotype builds the phenotype. During its life, an organism faces outside conditions such as temperature, sunlight, diet, and disease. These factors affect gene expression, which is the process where a cell reads the instructions in a gene to make proteins and build the body.
Because the environment affects development, two organisms with the exact same genotype can develop different phenotypes:
1. Identical human twins have the same genotype. However, if one twin eats a better diet during childhood or exercises more, they can grow to have different heights, weights, and muscle strength.
2. Hydrangea plants with the same genes will grow blue flowers in acidic soil, which contains available aluminum, and pink flowers in alkaline soil, where aluminum is not available to the roots.
3. In many reptiles, such as sea turtles and alligators, the temperature of the sand around the nest controls whether the embryo develops as a male or a female.
This ability of one genotype to produce more than one phenotype when exposed to different environments is called phenotypic plasticity. In evolution, plasticity is an advantage because it lets an organism adjust its traits to fit its surroundings during its lifetime, without waiting for its genes to change over generations.
Fact-checked against Phenotype on Wikipedia
Part of the Evolution syllabus: The Modern Synthesis and Population Genetics
See it on the timeline of Evolution