Inner-shell electronic structures, properties and ionization spectra of DNA/RNA bases are studied with respect to their parent pyrimidine and purine species. Density functional theory B3LYP/aug-cc-pVTZ has been employed to produce the geometries of the bases, whereas LB94/et-pVQZ//B3LYP/aug-cc-pVTZ is used to calculate site-related Hirshfeld charges and core (vertical) ionization energies, as well as inner-shell spectra of C1s, N1s and O1s for DNA/RNA bases and their parent pyrimidine and purine species. The site-dependent variations of properties indicate the changes and inheritance of chemical environment when pyrimidine and purine become substituted. In general, although the changes are site-dependent, they are also ring-dependent. Pyrimidine bases change less significantly with respect to their parent pyrimidine than the purine bases with respect to their parent purine. Pyrimidine bases such as uracil, thymine and cytosine inherit certain properties from their parent pyrimidine, such as the Hirshfeld charge distributions and the order of core ionization energy level etc. No particular sites in the pyrimidine derivatives are engaged with a dramatic chemical shift nor with energy crossings to other sites. For the core shell spectra, the purine bases inherit very little from their parent purine, and guanine exhibits the least similarities to the parent among all the DNA/RNA bases.