What causes a light bulb to stop giving light?

Two possibilities: the light bulb is broken or there is no electricity getting to the light bulb