To separate and visualize DNA fragments of varying sizes, using a gel matrix and an electrical current.