Noun:
* "I used charcoal to draw the portrait." (Here, charcoal refers to the substance itself.)
Adjective:
* "The charcoal grill was hot." (Here, charcoal describes the type of grill.)
The part of speech depends on how it's used in the sentence.