(Apologies to the biologists in the room -- this is really not an adequate introduction to your field.)
4 types of DNA molecules (nucleotides)
This is a very simplified picture of what actually happens -- and is no longer thought to be as one-directional as it is portrayed in this illustration.