A nitrogen generator is a machine that separates nitrogen from compressed air, which consists of 78% N2 and 21% O2. A gas generator is the easiest, most flexible, cost-efficient and sustainable way of obtaining your own nitrogen supply.