New algorithms compare the colors the camera sees in a scene with a database of color characteristics for different illuminants and determines the most likely illuminant, then it uses that one for balancing the color in the picture.
(the colors; sees; L:in a scene) (the camera; determines; the most likely illuminant)
the colors the camera
sees determines
L:in a scene
the most likely illuminant