Clicking on a bulb will toggle the state of that bulb and of all the surrounding bulbs (any bulbs that are on will turn off and vice versa). The aim of the game is to switch all of the lights off.
If you want to start the current game again, press the restart button. To play a new, random puzzle – press the New Game button.