AP · Biology · Biological Macromolecules

Nucleic Acid Structure

13 min readUpdated November 30, 2026FreeAP Biology, Chemistry of Life

A nucleic acid is a polymer of nucleotides, each made of a five-carbon sugar, a phosphate group and a nitrogenous base. DNA has deoxyribose and the bases A, T, C and G, and is usually double-stranded; RNA has ribose, U in place of T, and usually one strand. DNA's two antiparallel strands are held together by complementary base pairs, and the base order stores genetic information.

Quick check

  1. What reaction breaks a polymer into its monomers, and what does it use up?Show answerHide answer

    Hydrolysis. It uses one water molecule for each bond it breaks between monomers. See the note on Monomers, Polymers and Hydrolysis.

  2. Which base is found in RNA but not in DNA?Show answerHide answer

    Uracil (U). DNA has thymine (T) in its place.

Know these already? Jump to the practice questions

What you'll be able to do

  • Identify the parts of a nucleotide and where each attaches.
  • Compare DNA and RNA by sugar, bases and strands.
  • Explain why a strand has a 5′ end and a 3′ end.
  • Determine a complementary strand, with its ends labeled.
  • Calculate base percentages in double-stranded DNA.
  • Explain how base order stores information.

Key terms

Nucleotide

The monomer of a nucleic acid: a five-carbon sugar bonded to a phosphate group and one nitrogenous base.

In plain English
One bead on the chain: sugar, phosphate and base.
Don't write
"A nucleotide is a base."

Sugar-phosphate backbone

The alternating sugars and phosphates, linked by covalent phosphodiester bonds, along each strand.

In plain English
The side rails of the DNA ladder.
Don't write
"The backbone is held by hydrogen bonds."

Antiparallel

Running in opposite directions: where one DNA strand runs 5′ to 3′, its partner runs 3′ to 5′.

In plain English
Side by side, pointing opposite ways.
Don't write
"The strands run the same way."

Complementary base pairing

The pairing of A with T (or U in RNA) and of C with G, through hydrogen bonds between bases.

In plain English
One strand predicts the other.
Don't write
"A pairs with G."

What is a nucleotide made of?

A nucleotide has three parts joined by covalent bonds. The sugar's carbons are numbered 1′ to 5′ ("one prime" to "five prime").

PartWhat it isWhere it attaches
Sugardeoxyribose or ribosethe center
Phosphate groupnegatively charged phosphorus-oxygen groupthe 5′ carbon
Nitrogenous baseA, G, C, T or Uthe 1′ carbon

The 3′ carbon carries a hydroxyl group (–OH), where the next nucleotide joins.

Purines (adenine, guanine) have two rings; pyrimidines (cytosine, thymine, uracil) have one. Each DNA base pair matches a purine with a pyrimidine, so every pair is about the same width, so the double helix keeps an even width.

Check yourself

Is thymine a purine or a pyrimidine, and how many rings does it have?
Show answerHide answer

Thymine is a pyrimidine, so it has one ring.

How do DNA and RNA differ?

FeatureDNARNA
Sugardeoxyribose: H on the 2′ carbonribose: –OH on the 2′ carbon
BasesA, T, C, GA, U, C, G
Strandsusually two, as a double helixusually one
Main jobstores genetic informationcarries copies of it and helps build proteins

"Deoxy" means one oxygen fewer: deoxyribose lacks ribose's 2′ oxygen. Uracil pairs with adenine, as thymine does. An RNA strand can fold back so its bases pair with each other, giving the molecule a particular shape.

Check yourself

A nucleic acid contains ribose and uracil. Is it DNA or RNA?
Show answerHide answer

RNA. Ribose and uracil are both found in RNA and not in DNA.

Why does each strand have a 5′ end and a 3′ end?

  1. The phosphate on the 5′ carbon of a new nucleotide bonds covalently to the –OH on the 3′ carbon of the last nucleotide in the chain.
  2. This phosphodiester bond repeats, so sugars and phosphates alternate along the backbone, with bases sticking out.
  3. So one end has a 5′ phosphate with nothing joined to it (the 5′ end), and the other has a free 3′ –OH (the 3′ end).

So a strand has a direction. Enzymes that build DNA and RNA add nucleotides only to the 3′ end, so strands grow 5′ to 3′. Sequences are written 5′ to 3′.

Key idea

A strand runs from a free 5′ phosphate to a free 3′ –OH.

Check yourself

The sugar at one end of a strand has a free –OH on its 3′ carbon. Which end is this?
Show answerHide answer

The 3′ end.

How are the two strands of DNA held together?

  1. A pairs with T through two hydrogen bonds; C pairs with G through three.
  2. Each base has one partner, so one strand's sequence fixes the other's: the strands are complementary.
  3. The strands are antiparallel, so the 5′ end of one lies opposite the 3′ end of the other.
  4. Hydrogen bonds are weak one at a time, so the strands can separate without breaking the covalent backbones.

So double-stranded DNA has equal percentages of A and T, and of C and G (Chargaff's rule). More G–C pairs means more hydrogen bonds, so a higher temperature is generally needed to separate the strands. (Beyond the syllabus: stacking between neighboring bases also stabilizes the helix.)

Examiner's eye

Marks go to naming both bonds: hydrogen bonds between the strands, covalent phosphodiester bonds within each strand.

Check yourself

Why can the two strands separate while each strand stays in one piece?
Show answerHide answer

The strands are held to each other by hydrogen bonds, which are weak individually and break easily. Each strand is held together by covalent phosphodiester bonds, which are much stronger.

How does a base sequence store information?

Any of the four bases can sit at each position, so base order works like a message in a four-letter alphabet. A stretch of nn bases can have 4n4^n different sequences (Learn this).

  • A gene is a stretch of DNA whose base sequence codes for an RNA or protein product, so changing the order can change the product.
  • The strands are complementary, so each strand can rebuild its partner, so the sequence can be copied accurately before a cell divides.

The backbone is the same in every DNA molecule, so the information is in the base order alone.

Check yourself

Two DNA molecules have the same length and the same number of each base. Can they carry different information?
Show answerHide answer

Yes. The information is in the order of the bases, and the same bases can be arranged in different orders.

Worked example 1: Write the complementary strand

Question: One strand of a DNA molecule reads 5′-GATTCAGC-3′. Write the complementary strand from its 5′ end to its 3′ end.

What tells you the method

"Complementary" means pairing rules; "from its 5′ end" means allowing for antiparallel strands.

  1. Step 1: Pair each base.

    Under GATTCAGC, write CTAAGTCG.

    Why

    A pairs with T and C pairs with G.

  2. Step 2: Label the ends.

    The new strand is 3′-CTAAGTCG-5′.

    Why

    The strands are antiparallel, so the end opposite a 5′ end is a 3′ end.

  3. Step 3: Reverse it to read 5′ to 3′.

    5′-GCTGAATC-3′.

    Why

    Sequences are written from the 5′ end.

Check it

Every pair with the original is A–T or C–G, and each 5′ end faces a 3′ end.

Answer

The complementary strand is 5′-GCTGAATC-3′.

Worked example 2: Base pairs and strand separation

Question: In a class investigation, students heated three hypothetical double-stranded DNA samples of equal length and recorded when the strands separated.

SampleAdenine (%)Separation temperature (°C)
P3582
Q2590
R1598

(a) Calculate the percentage of guanine in sample R.

(b) Sample S, of the same length, is 40% cytosine. Predict whether S separates at a higher or lower temperature than R. Answer higher or lower.

What tells you the method

Base percentages call for the pairing rule; a temperature trend calls for hydrogen bonds.

  1. Step 1: Find guanine in R.

    A = T = 15%, so G + C = 100−30=70%100 - 30 = 70\%, so G = 70÷2=35%70 \div 2 = 35\%.

    Why

    A pairs with T and G with C.

  2. Step 2: Read the trend.

    As G–C content rises from 30% (P) to 70% (R), the separation temperature rises from 82 °C to 98 °C.

    Why

    Less A–T means more G–C.

  3. Step 3: Explain, then predict.

    G–C pairs have three hydrogen bonds and A–T pairs two, so more G–C means more bonds to break, so more heat. S is 40% C and 40% G: 80% G–C, more than R's 70%.

    Why

    A prediction must follow from the trend and the mechanism.

Check it

R's bases sum to 15+15+35+35=100%15 + 15 + 35 + 35 = 100\%, and the prediction follows the table's trend.

Answer

(a) 35% guanine; (b) higher.

Your turn

Question: How many different base sequences are possible for a DNA strand 5 nucleotides long?

  1. Step 1: Count the choices at each position.

    Each position can hold A, T, C or G, so there are 4 choices.

  2. Step 2: Your go: combine the choices for all 5 positions.

Show the full solutionHide the solution

Step 2. The base at one position does not limit the others, so multiply the choices: 4×4×4×4×4=45=10244 \times 4 \times 4 \times 4 \times 4 = 4^5 = 1024.

Answer: There are 1024 possible sequences.

Traps

Trap

To write a complementary strand, you swap each base and keep the same direction.

It seems right because pairing base by base is the first step. But the strands are antiparallel, so the paired bases run 3′ to 5′; reverse them to write 5′ to 3′.

What is the complementary strand of 5′-AAC-3′, written 5′ to 3′?

5′-GTT-3′. Pairing gives 3′-TTG-5′, which reads 5′-GTT-3′ from its 5′ end.

Trap

Hydrogen bonds join the nucleotides along each strand.

It seems right because hydrogen bonds are the bonds most linked with DNA. But they join bases across the strands; covalent phosphodiester bonds join nucleotides along a strand.

Heating separates the two strands of DNA. Which bonds break?

The hydrogen bonds between paired bases. The covalent phosphodiester bonds within each strand stay intact.

What's examined

On the AP® Biology exam (Unit 1: Chemistry of Life), nucleic acid structure appears in multiple-choice and free-response questions, often with a model or base-composition data. Expect to identify, compare, calculate and explain.

Practice questions

  1. Recall Which component is found in RNA but not in DNA?
  • A) Deoxyribose
  • B) Thymine
  • C) Ribose
  • D) A phosphate group
Show answer

Answer: C. Ribose is RNA's sugar; DNA has deoxyribose.

Why the others are wrong:

  • A mixes up the sugars: deoxyribose is found in DNA.
  • B is found in DNA; RNA has uracil in its place.
  • D is in both, because every nucleotide has a phosphate group.
  1. Apply A sample of double-stranded DNA is 23% thymine. Calculate the percentage of guanine.
Show answer

Answer: Guanine makes up 27% of the bases.

Marking points:

  • A = T, so A = 23% and A + T = 46%.
  • G + C = 100−46=54%100 - 46 = 54\%.
  • G = C, so G = 54÷2=27%54 \div 2 = 27\%.
  1. Recall Which statement describes the two strands of a DNA molecule?
  • A) Opposite directions, joined by hydrogen bonds between bases
  • B) Same direction, joined by hydrogen bonds between bases
  • C) Opposite directions, joined by covalent bonds between bases
  • D) Same direction, joined by phosphodiester bonds between backbones
Show answer

Answer: A. The strands are antiparallel, and hydrogen bonds between complementary bases hold them together.

Why the others are wrong:

  • B treats the strands as parallel.
  • C confuses the bond types: the bonds between paired bases are hydrogen bonds.
  • D makes both errors: the strands are antiparallel, and phosphodiester bonds lie within each strand.
  1. Exam-style The table gives hypothetical base compositions of four samples.
SampleAdenine (%)Thymine (%)Uracil (%)Guanine (%)Cytosine (%)
W300302020
X212902921
Y282202822
Z191903131

Which sample is most likely double-stranded DNA?

  • A) W
  • B) X
  • C) Y
  • D) Z
Show answer

Answer: D. Sample Z has no uracil, and A = T (19%) and G = C (31%), as base pairing requires.

Why the others are wrong:

  • A: W contains uracil, so it is RNA, even though its bases match in pairs.
  • B: X has A equal to C and G equal to T, the pattern of a wrong pairing rule; A (21%) does not equal T (29%).
  • C: Y has A equal to G, which would pair two purines; A (28%) does not equal T (22%).
  1. Apply A DNA strand reads 5′-TTGCA-3′. Name the base in the nucleotide whose sugar has a free –OH on its 3′ carbon. Answer adenine, thymine, cytosine or guanine.
Show answer

Answer: The base is adenine.

Marking points:

  • A free –OH on a 3′ carbon marks the 3′ end of the strand.
  • The sequence is written 5′ to 3′, so the 3′ end is the last base on the right: A, adenine.
  1. Exam-style Two hypothetical DNA molecules have the same length. Molecule 1 is 60% G–C pairs; molecule 2 is 40%. Which claim about separating their strands by heating is best supported?
  • A) Molecule 2 needs more heat, because A–T pairs have three hydrogen bonds.
  • B) Molecule 1 needs more heat, because it has more hydrogen bonds between strands.
  • C) Molecule 1 needs more heat, because G–C pairs are covalently bonded.
  • D) Both need the same heat, because they have equal numbers of base pairs.
Show answer

Answer: B. G–C pairs have three hydrogen bonds and A–T pairs two, so molecule 1 has more hydrogen bonds to break.

Why the others are wrong:

  • A swaps the bond counts: A–T pairs have two hydrogen bonds.
  • C confuses the bond types: paired bases are held by hydrogen bonds.
  • D ignores that pairs differ in their number of hydrogen bonds.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • A nucleotide has a base on the 1′ carbon of a pentose sugar and a phosphate on the 5′ carbon.
  • DNA: deoxyribose, thymine, usually a double helix. RNA: ribose, uracil, usually one strand.
  • Phosphodiester bonds build the backbone; a strand starts at a free 5′ phosphate and ends at a free 3′ –OH, and grows at the 3′ end.
  • Paired strands run in opposite directions; A–T pairs share two hydrogen bonds and C–G pairs three, so %A = %T and %C = %G.
  • Information lies in the base order: nn positions allow 4n4^n sequences.

Keep learning

Explore AP Biology tutoring →

View the full Biology syllabus →

More in this unit

Chemistry of Life

All Biological Macromolecules notes

Part of Novark's AP Biology notes