Complex sentence: Electrolysis can occur only if the water is acid or alkaline, the requirement is that there are ions in the water to conduct electricity for the water electrolysis process to occur.
Split into simpler sentences: Electrolysis can occur only if the water is acidic or alkaline. The requirement is that there must be ions in the water to conduct electricity for the water electrolysis process to occur.