Various gases are used in pharmacy. Nitrogen is mainly used during production and storage to expel oxygen so that the product or raw material can be safely processed without further attack by oxidation.
Hydrogen, nitrogen and other gases consumed in the laboratory are intended for analytical applications. Would you like to have information about how to generate on-site gas for analytical applications? Then look at the laboratory applications.