In molecular biology , two nucleotides on opposite complementary DNA or RNA strands that are connected by hydrogen bonds are called a base pair ( often abbreviated bp ) . In molecular biology and genetics , two nucleotides on opposite complementary DNA or RNA strands that are connected via hydrogen bonds are called a base pair ( often abbreviated bp ) .