Mendel's law of independent assortment is a principle in genetics that states that the alleles for different traits segregate independently of each other during the formation of gametes. This means that the inheritance of one trait does not affect the inheritance of another trait.