Carbon nanomaterials have been speedily developed due to their unique electronic, optical, thermal, mechanical, and chemical nature.