Gaseous nitrogen is used in a variety of chemical processes and thermal treatments of metals. Liquid nitrogen is widely used as a rapid refrigerant for preserving food freshness and quick freezing.