Water as such is a neutral stable molecule. It is difficult to break the covalent O-H bonds easily. Hence, electrical energy through the electrolysis process is applied to separate dioxygen from water.
When a small amount of acid is added to water ionization is initiated which helps in electrochemical reactions . Oxygen can thus be obtained from acidified water only by its electrolysis