TECHNOLOGY FOCUS - INSTRUMENTATION AND TESTING - Preferred Components: The electrodes of the membrane-electrode assembly are designed as gas diffusion electrodes or as metallic foils. The selective proton-conducting membrane includes ceramic membrane or polymembranes.    TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Process: The hydrogen is removed from the reaction mixture directly from the reaction zone. At least one portion of the current produced in the step (b) is used in the step (a). Current necessary for separating hydrogen in the step (a) is generated through the step (b). The pressure difference between the retentate side and permeate side of the membrane, for removing hydrogen, is below 1 (preferably below 0.5) bar. The step of removing hydrogen is carried out at a voltage of 0.05-2000 (preferably 100-800) mV. Air is used as the oxygen-containing stream. A product stream is obtained after removing at least one portion of hydrogen, where: aminohydrocarbon and aminating reagent are removed from the product stream; and a processed stream (S1) is obtained, which is used in the direct amination. A product stream is obtained after removing at least one portion of hydrogen, where: aminohydrocarbon is removed from the product stream; and a processed stream (S2) is obtained, which is used in the direct amination. The obtained product stream is used in the direct amination. Preferred Components: The anode catalyst on the retentate side is an amination catalyst (for the conversion of hydrocarbons) for direct amination of hydrocarbon to aminohydrocarbon. The aminating reagent is ammonia. EXAMPLE - A feed stream, comprising benzene and ammonia, was added into an electrocell at 300-350 degrees C, where the cell comprised a gas-tight membrane electrode assembly (MEA) and ammoniumpolyphosphate was used as proton-conducting membrane. The MEA was used as electrode and as anode and gas diffusion electrode was used as cathode. A carbon cloth comprising finely dispersed nickel-copper alloy (3-5 mg/cm2) was used as aminating catalyst on the retentate side of the electrocell and the catalyst layer was mounted directly on the gas diffusion electrode. A voltage of 250-800 mV was generated at the anode, and hydrogen at the anode of the retentate side was oxidized to protons, which penetrate through the membrane and reduced to hydrogen at cathode. A mixture of benzene, aniline, hydrogen, nitrogen and ammonia was obtained as reactor discharge (reaction mixture). A major portion of hydrogen was removed directly from the reaction zone by an electromembrane and consequently the equilibrium conversion of benzene to aniline was increased.