Sexually reproducing organisms, typically diploid, inherit genetic material from two parents.
Each parent contributes one set of chromosomes. Therefore, for most genes, an individual possesses two copies, known as alleles, one on each homologous chromosome.
This pair of gene copies determines the trait.
Thus, sexually reproducing individuals have two copies of genes for the same trait.