Primitive materials provide important clues on the processes that occurred during the formation and early evolution of the Solar System. Space-based and ground-based observations of cometary comae show that comets appear to contain a mixture of the products of both interstellar and nebular chemistries. Significant 15-nitrogen enrichments have been measured in CN and HCN towards a number of comets and may suggest an origin of interstellar chemical fractionation. Additionally, large N-15 enhancements are found in meteorites and has also led to to the view that the N-15 traces material formed in the interstellar medium (ISM), although multiple sources cannot be excluded. Here, we show the results of observations of the nitrogen and carbon fractionation in prestellar cores for various N-bearing species to decipher the origin of primitive material isotopic enrichments