You enter a laboratory and you are asked to pass a gas through blue litmus solution. How will you be able to tell whether the gas passed in the experiment is hydrogen chloride or ammonia?
If the blue litmus solution turns red, the gas used was hydrogen chloride and if the blue litmus solution stays blue, the gas used was ammonia.
Hydrogen chloride being acidic in nature will turn the blue litmus solution to red.
Ammonia gas being basic in nature will not affect the blue litmus solution. So, if the blue litmus solution turns red, the gas used is hydrogen chloride and if the blue litmus solution stays blue, the gas used is ammonia.