Nitrogen-doped carbon materials produced from hydrothermally treated tannin.