Ammonia is an alkaline gas that reacts with acidic gases like HCl to form a solid salt (ammonium chloride), which appears as white fumes.