Facile synthesis of bio-based nitrogen- and oxygen-doped porous carbon derived from cotton for supercapacitors