yeap alextone got it its that simple it goes
a gene will code for a certain charateristic eg height
an allele is the various types of genes coding for height so u can get short tall or medium and many more different alleles however they are all covered as part of the gene coding for height