Gel electrophoresis is a method used for separation of DNA fragments, according to their molecular size. It is based on the principle of movement of charged molecules in an electric field. The negative charged DNA migrate towards the cathode depending on the charge carried by them. This movement is further dependent on the size of molecule moving. The smaller the size, the faster, it travels across with the larger molecules lagging behind.