Often times corrosion on battery terminals, or loose connections to the bulb, can cause a flashlight to not turn on when you hit the button. In this case, hitting it into the palm of your hand a few times usually solves the problem, and the photons are free to flee the front end of the flashlight.