Hi there!
[tex]\large\boxed{\text{Carbon.}}[/tex]
Coal and charcoal are almost entirely made up of carbon. Charcoal is made from wood that is burned to form pure carbon, whereas coal is a fossil fuel formed by decayed organic matter from millions of years ago.