The cutting of DNA is possible by the use of restriction enzymes that results in the fragments of DNA. These fragments of DNA can be separated by a technique known as gel electrophoresis. The DNA fragments separate (resolve) according to their size through sieving effect provided by the agarose gel. The separated DNA fragments can be visualised only after staining the DNA with a compound known as ethidium bromide followed by exposure to UV radiation.