What is the role of activated charcoal in gas mask used in coal mines?

Activated charcoal acts as an adsorbent for various poisonous gases present in the coal mines.