The nitrogen bases will only bond with one specific nitrogen base such as A - T and G - C. This is known as:
Complimentary Base Pairing
9.4m questions
12.2m answers