Most cameras have a built-in flashgun which pops up automatically in low light or can be popped up by pressing a button. The flash can provide emergency light, but it’s harsh and short range. In many instances it’s best to leave the flash off and use higher ISO settings.
The pop-up flash on a compact camera will be even less powerful than those on a digital SLR. The pop-up mechanism itself is used partly to produce a neater outline for the camera and partly to increase the distance of the flash from the lens – this reduces red-eye effects.