The rear camera has a dual light flash that matches the color of the ambient light for better results.
The front camera does not have a dedicated flash, but uses an algorithm to match the ambient light with a flash 3 times brigher than normal of a blank, white screen to function as a flash.