During the preparation of hydrogen chloride gas on a humid day, the gas is usually passed through the guard tube containing anhydrous calcium chloride. The role of anhydrous calcium chloride taken in the guard tube is to
A. absorb the evolved gas
B. moisten the gas
C. absorb moisture from the gas
D. absorb `Cl^(-)` ions from the evolved gas