A dye marker on agarose gel is used to separate DNA. The smaller fragments move faster, the larger ones slower. The separation process is used to analyze the size of DNA fragments, to map DNA and to separate fragments of DNA for creating clones. Source: National Cancer Institute