From char to carbon: A study of the electron spin resonance