When was it proposed that electricity and magnetism were distinct effects by scientists William Gilbert ?
In 1784 , he was perhaps the first to utilize an electric spark to produce an explosion of hydrogen and oxygen in the proper proportions that would create pure water .