Gel electrophoresis sorts DNA fragments by size. DNA is negative because of its phosphate backbone, so in an electric field it moves toward the positive electrode, and the gel acts as a sieve that small fragments slip through fastest.
Why it matters
It is how you read the results of PCR, restriction digests and DNA fingerprinting. Band position tells you fragment length.
How the exam tests it
The usual question asks why smaller fragments travel farther. Every fragment has about the same charge per unit of mass, so the force per unit of mass is the same, but small pieces meet less resistance in the pores.
Don’t confuse it with
Students think smaller fragments move farther because they carry more charge, but charge grows with length, so size and pore resistance decide the speed.