Electricity is generated by this process whereby the coil act as a conductor and the bar magnet act as a magnetic field. The lighted bulb is a signal electricity has been generated. This phenomenon is know as electromagnetic induction. Therefore, moving the bar magnet back and forth along the axis of the coiled wire will light the bulb