Both adenine and guanine are purines and they are common in both DNA and RNA.
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.