(1) while writing a chemical equation, gaseous, 1iquid and solid states are symbolised as (g), (l) and (s) respectively.
(2) This is done to make it more informative and to emphasise that those reactions occur in that manner only under those conditions. Hence, physical states of reactants and products are mentioned while writing a chemical equation.