Nucleobases are important for genetics . They are parts of RNA and DNA that may be involved in pairing ( see base pair ) . Nucleobases ( or nucleotide bases\/nitrogenous bases\/aglycones ) are the parts of DNA and RNA that may be involved in pairing ( see also base pairs ) .