The nitrogen bases form the double-strand of DNA through weak hydrogen bonds. The nitrogen bases, however, have specific shapes and hydrogen bond properties so that guanine and cytosine only bond with each other, while adenine and thymine also bond exclusively.