If you pass electricity through pure water so that it changes to hydrogen and oxygen gas, what type of reaction has taken place?
A. Synthesis
B. Decomposition
C. Single displacement
D. Double displacement