The main difference between the four nucleotides that make up DNA…