DSLR cameras use what is called phase detection to focus on a subject, while mirrorless cameras use contrast detection. Phase detection takes advantage of the mirror in a DSLR camera to divide the incoming light into pairs of images, compares them, and then quickly focuses the lens on the subject.