Gel electrophoresis is the technique that helps in the separated of DNA fragments DNA fragments are negatively charged molecules and they can be separated by forcing them to move towards anode under an electic field through medium/matrix. Separation is based on size. 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.