An individual may possess a maximum of two alleles for each gene, one allele is inherited from each parent.
If the two allele differ, the organism is heterozygous, and the dominant allele determines the its phenotype.
Some traits, such as flower color in the pea, may have more than two alleles in the population.