The metal reacts with hydrogen gas at high temperatures to produce lithium hydride ( LiH ) .
It can react with nitrogen gas to make lithium nitride .