Adenine is a chemical part of DNA and RNA .
The shape of adenine is complementary to either thymine in DNA or uracil in RNA .