If both alleles inherited from 2 parents are the same, the individual is homozygous.

If the 2 alleles differ, the individual is heterozygous.

In this example, the dominant allele expresses purple flowers, while the recessive allele expresses white flowers.

Possible genotypes are:

Quiz