The principle you are referring to is called base pairing. Base pairing is the specific hydrogen bonding between complementary bases in DNA and RNA molecules. In DNA, adenine (A) always pairs with thymine (T), and guanine (G) always pairs with cytosine (C). In RNA, adenine (A) pairs with uracil (U), and guanine (G) pairs with cytosine (C). This base pairing is crucial for DNA replication and RNA synthesis, as it ensures the accurate copying of genetic information.