This is a reaction used in the Solvay process for producing sodium hydrogen carbonate (baking soda). The combination of sodium chloride, ammonia, water, and carbon dioxide produces sodium hydrogen carbonate and ammonium chloride:
\[
\text{NaCl} + \text{NH}_3 + \text{H}_2\text{O} + \text{CO}_2 \rightarrow \text{NaHCO}_3 + \text{NH}_4\text{Cl}
\]
Hence, compound 'A' is sodium hydrogen carbonate.