A DNA ladder is a solution of DNA molecules of different lengths used in agarose or acrylamide gel electrophoresis. It is applied as a reference to estimate the size of unknown DNA molecules that were separated based on their mobility in an electrical field through the gel.