The cutting of DNA by restriction endonucleases results in the fragments of DNA. These fragments can be separated by a technique known as gel electrophoresis. Since, DNA fragments are negatively charged molecules they can be separated by forcing them to move towards the positive electrode anode under an electric field through a medium/matrix. The DNA fragments separate (resolve) according to their size through sieving effect provided by the agarose gel. Hence, the smaller the fragment size, the farther it moves.