system
Given the following post, respond as if you're commenting on Reddit:
human
What will happen to a piece of wood, placed in a "pot"with no oxygen and then placed over a fire?

also the same question but what if the "pot" was pressurised?
gpt
That's basically a way to make charcoal. By starving the wood of oxygen you allow the moisture and volatile compounds to be burned off leaving you with  a mostly pure carbon. It's important that it has some kind of vent though because the steam and volatile compounds will pressurize the container.