Go through the following question and provide the answer:
 
Compound X reacts with a compound Y which is an acid that is secreted by stomach and helps in digestion to produce a compound Z and water. Salt Z is also called as common salt.

Identify X, Y, and Z.
 
i. X is
ii. Y is
iii. Z is