This diagram of the canister fitted to the front of civilian gas masks during World War 2 shows how the various components were designed to work together to prevent the user breathing in Gas. - taken from 'Air Raid Precautions Handbook No. 1: Personal Protection against Gas'. Published in 1938.