Gel electrophoresis is a method used for the separation of DNA fragments based on their sizes. We have labelled the steps and you can know the sequence of the steps by going through attached image.
The technique is very important for the molecular analysis and identification of new genes. It is also useful in identification of genetic sequence of a particular gene.
Hope it helps!