If there are specs of dust particles floating in the air, they can be illuminated by the strong light of the flash and sometimes appear in a recorded image as white, round glare spots (aka orbs). This symptom tends to occur in low-light environments when using a compact digital camera because of the close proximity of the flash to the lens assembly. It is not a malfunction.
To avoid this phenomenon, it is recommended to cancel the flash. In this case ISO needs to be raised or a tripod should be used to avoid camera shake. If using an external flash, bouncing the flash towards the ceiling or using the flash off-camera can also avoid this effect.
For cameras that have ISO sensitivity function settings:
If glare spots appear in the picture, turn off the flash. If sufficient brightness cannot be obtained, such as when indoors, shoot with an increased ISO sensitivity. Also, shoot using a tripod or with the camera held firmly to prevent camera shake.