By applying a current to the gel block, the negatively charged DNA molecules are forced through the gel, and smaller ones get out ahead. They form bands that can be detected with ultra-violet light. Fragments of the same length cluster together, and the band corresponding to the proper path-length can simply be cut out. This technique is called "gel electrophoresis."