Pea plants have purple flowers that are dominant to white flowers.

Answer:
The way the trait appears is its phenotype. In pea plants, purebred purple flowers have a genotype with two purple alleles, which produces a phenotype of purple petals. Purebred white flowers have a genotype of two white alleles, which displays the white phenotype.
Explanation: