two alleles are the same

when they are identical copies of a gene, located in the same position on homologous chromosomes. This means that both alleles code for the same trait or characteristic. When an individual has two identical alleles for a particular gene, they are said to be homozygous for that trait. This can either be homozygous dominant (if both alleles are dominant) or homozygous recessive (if both alleles are recessive).