Next Episode: Why diamond is hard?

Nitrogen gas is used in chips packaging..but why they use it.How nitrogen gas protects the chips ?? Is it safe to use ??? Reference. https://www.levapack.com/how-nitrogen-keeps-food-fresh/