According to law of independent assortment of Mendel, alleles segregate randomly from each other, i.e., all alleles separate from each other during gamete formation and are inherited independently from one anther. But genes, which are located on the same chromosomes (called linked genes) do not assort independently. Such type of genes are called linked genes, and this phenomenon is called as linkage.