DNA plays a crucial role in protein synthesis, serving as a template for mRNA during transcription. The mRNA is then translated into polypeptides, forming proteins that perform essential functions in the cell. DNA also ensures accurate replication during cell division, allowing genetic information to be passed to daughter cells.