According to the law of independent assortment, during the inheritance of two different traits, the alleles of both the traits assort and are inherited independently of one another during gamete formation. This gives both the trait equal chances of being inherited.