G (guanine) and C (cytosine) undergo a specific hydrogen bonding, whereas A (adenine) bonds specifically with T (thymine, in DNA) or U (uracil, in RNA). The GC pair is bound by three hydrogen bonds, while AT and AU pairs are bound by two hydrogen bonds.