Charcoal, primarily composed of carbon, can yield potassium and sodium compounds when heated due to the presence of these elements in the original plant material. Charcoal is the result of partially burned plant matter, which retains minerals like sodium, potassium, and magnesium. The discussion clarifies that no nuclear reactions are involved in this process. Additionally, the smell of ammonia noted during the decomposition of charcoal may arise from the type of charcoal used; cooking charcoal typically does not emit this odor, while activated charcoal, especially when previously used for filtration, can produce such smells. The conversation also touches on the potential for separating sodium and potassium oxides from the charcoal.