As the name would imply, a gas generator generates nitrogen or oxygen gas for industries that need easy access to these gasses for their various applications, such as filling tires, cleaning or packaging.
The operation of your gas generator depends on the type you're using. There are two main types of gas generators with different modes of action: pressure swing adsorption generators and membrane nitrogen generators.