An amorphous solid $(X)$ burns in air to form a gas $(Y)$ which turns lime water milky. This gas decolourises aqueous solution of acidified $KMnO_4$. Gas $(Y)$ reacts with oxygen to give another gas $(Z)$ which is responsible for acid rain. $X$, $Y$ and $Z$ are