The variety of genes within a particular population, species, variety, or breed.