Some bicycle may have a dynamo to light up its lamp .The dynamo is a small portable generator which produces electricity from the energy of your body When you pedal a bicycle.In a dynamo the coil is held stationary while the magnet rotates inside the coil with the rotating wheel of the bicycle.