Contig assembly is a method in genomics used to reconstruct the sequence of DNA from overlapping fragments, known as reads, produced by sequencing technologies. This process is essential for mapping genomes, as it allows researchers to piece together the complete sequence from smaller segments, ultimately leading to a more comprehensive understanding of the genetic makeup of an organism. Contig assembly plays a pivotal role in genome annotation and comparative genomics.