Carbon based materials are really an integral component of our lives and widespread research regarding their properties was conducted along this process. The addition of dopants to carbon materials, either during the production process or later on, has been actively investigated by researchers all over the world who are looking into how doping can enhance the performance of materials and how to overcome the current difficulties. This study explores synthesis methods for nitrogen-doped carbon materials, focusing on advancements in adsorption of different pollutants like CO2 from air and organic, inorganic and ions pollutants from water, energy conversion, and storage, offering novel solutions to environmental and energy challenges. It addresses current issues with nitrogen-doped carbon materials, aiming to contribute to sustainable solutions in environmental and energy sciences. Alongside precursor types and synthesis methods, a significant relationship exists between nitrogen content percentage and adsorption capacity in nitrogen-doped activated carbon. Nitrogen content ranges from 0.64% to 11.23%, correlating with adsorption capacities from 0.05 mmol/g to 7.9 mmol/g. Moreover, an electrochemical correlation is observed between nitrogen atom increase and specific capacity in nitrogen-doped activated carbon electrodes. Higher nitrogen percentage corresponds to increased specific capacity and capacity retention. This comprehensive analysis sheds light on the potential of nitrogen-doped carbon materials and highlights their significance in addressing critical environmental and energy challenges.