DNA sequencers work by fragmenting the DNA into smaller pieces, amplifying these fragments, and then sequencing them to read the order of nucleotides. Modern sequencing techniques, such as Next-Generation Sequencing (NGS), can process millions of DNA fragments simultaneously, providing comprehensive data on the genetic makeup of cancer cells.