Many cameras that do not have a dedicated autofocus assist lamp instead use their built-in flash, illuminating the subject with stroboscopic bursts of light.
It is used for presetting a given focus distance into memory, so that the photographer can quickly recall the focus distance, without the need for autofocus.