so i search up on goo gle and found this
Ruston writes that Shelley was inspired by the concept of galvanism—the idea that scientists could use electricity to stimulate or restart life. ... Frankenstein describes how a lecture on electricity caused him to throw away everything he knew about science