Calcium reacts with nitrogen gas to produce a white ionic solid, which on hydrolysis gives the gas (or gases):