The products of the electrolysis of molten MgBr2 are:
A) H2(g) and O2(g)
B) H2(g) and Br2(g)
C) Mg(l) and O2(g)
D) Mg(l) and Br2(g)
Right now I understand it to be that electrolysis of aqueous MgBr2, since it includes H2O, produces H2(g) and O2(g). But since it's molten MgBr2, then water can't be involved, so I think it's D) Mg(l) and Br2(g). The answer key says that the answer's C though, but how can O2(g) be produced if there's no water?