are alleles and traits the same thing?
Alleles and traits are not the same thing.
Alleles are the alternative form of a gene present on homologous chromosomes. They occupy the same position on a chromosome and affecting the same characteristic but in alternative ways. Traits are the characters or quality expressed by the organism due to the expression of alleles.