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
5.8m questions
7.5m answers