Separation of air using either a cryogenic distillation process or a vacuum swing adsorption technique is the most popular commercial method for creating oxygen. Separating nitrogen and argon from air produces them as well. The process is known as electrolysis, because it creates extremely pure hydrogen and oxygen.