Adenine is one of the four main nucleobases in the nucleic acids of DNA and RNA. It is a purine derivative and plays a critical role in the formation of nucleotides, which are the building blocks of genetic material. Adenine pairs with thymine in DNA and with uracil in RNA through hydrogen bonding.