Alleles are different versions of the same gene that can exist at a specific locus on a chromosome, influencing an organism's traits by varying the expression of that gene. The combination of alleles inherited from both parents determines the organism's genotype and can result in diverse phenotypic outcomes, including dominant, recessive, and co-dominant expressions.