DNA contains the genetic code for building and maintaining organisms. It is made up of nucleotides that pair together in a double helix structure, with adenine pairing with thymine and guanine pairing with cytosine. Erwin Chargaff discovered these base pairing rules, and Rosalind Franklin used X-ray diffraction to show DNA has a spiral structure. This allowed James Watson and Francis Crick to build a molecular model showing DNA as a twisted ladder with nucleotides forming rungs between the sides. DNA replicates through this base pairing, with each side of the double helix serving as a template to form a new complementary strand.