Genes located on the same chromosome are linked and inherited together, forming a linkage group. Mendel's law of independent assortment does not apply to linked genes. During meiosis, linked genes may undergo crossing over, where portions of homologous chromosomes are exchanged. This can result in new combinations of alleles and the production of recombinant offspring that differ from their parents' genotypes. A test cross can be used to identify which offspring from a dihybrid cross involving linked genes are recombinants.