The technique used for separation of DNA fragments is called gel electrophoresis. The technique is based on the principle that - when a charged molecule is placed in an electric field they move towards the positive or negative side according to their charge. When the electric field is applied in DNA fragments being negatively charged,move through the gel towards the anode and gets separated.