Nucleic acids are made up of nucleotides which contain a base, deoxyribose sugar, and a phosphate group. DNA specifically contains three components - a base, deoxyribose sugar, and a phosphate group that together make up each nucleotide in the DNA structure.