How Does An Electric Generator Work