How to make a Generator

Generator  An electric generator is a device which converts mechanical energy into electrical energy. Electricity can be generated in both the ways                                                                   1.  By rotating the coil, keeping the magnetic field at rest.