The law of independent assortment was based on work involving dihybrid crosses. A dihybrid cross is one that is carried out between parents that differ in two characteristics (traits), which are controlled by genes at two different loci. The law can be illustrated by the example below.