 If you know of a restriction site placed towards one end of the insert you can determine the orientation by observing the size of the fragments in the gel.Often the orientation of inserts is important and this technique is used to screen for the correct orientation.In this example the orientation of an insert cloned with EcoRI will be found.