Gel electrophoresis is used to separate macromolecules like DNA or RNA by size or proteins by charge. To examine DNA and RNA, the fragments are placed in the agarose wells and an electrical charge is sent through, pushing the negatively charged molecules towards the positive side. The smaller the molecule, the less resistance it will face when hitting the pores of the gel, and the farther it will travel.