Biochar as a precursor of activated carbon