So the backbone of DNA is made up of 6 smaller molecules. Also a 5 carbon sugar called deoxyribose, a phosphate molecule and four different nitrogenous base which are: adenine, thymine, cytosine, and guanine. The rails are made up of alternating sugars and phosphate molecules.
I hoped this helped.! :)