Hydrogen chloride gas and ammonia can be used to demonstrate the fountain experiment because they…