The combination of two alleles of the gene for a trait (the letters for the genes).