The design of advanced N-doped carbon materials towards oxygen reduction reaction (ORR) catalysis is only possible if the nature of the active sites is fully understood. There is an important piece of research seeking to overcome this challenge through experimental or theoretical results. However, the combination of both approaches is necessary to deepen into the knowledge about this subject. This work presents excellent agreement between experimental results and computational models, which provides evidence about the nature of the most active sites in N-doped carbon materials. N-doped carbon materials have been experimentally obtained through double stage treatment of polyaniline in distinct atmospheres (both oxygen-containing and inert atmosphere) at different temperatures (800-1200ºC). According to temperature programmed desorption (TPD), Raman spectroscopy, N 2 -adsorption isotherms at -196ºC and Xray photoelectron spectroscopy (XPS), this synthesis method provides the selective formation of nitrogen species, without important changes in structural order or porosity. ORR catalytic tests evidence the highly efficient catalysis, with platinum-like performance in current density and onset potential, of N-doped carbon materials selectively containing graphitic-type nitrogen species. Computational chemistry, through DFT calculations, shows that edge-type graphitic nitrogen is more effective towards ORR catalysis than pyridinic, pyrrolic, pyridonic, oxidized and basal-type graphitic nitrogen species.After the electron supply, the proton must be introduced into the model structure to complete the first reduction stage. Fig. 7a illustrates this process. The proton is attracted towards the oxygen atoms that have collected the electrons forming an intramolecular hydrogen bond.