It uses the TrueDepth system, projecting over 30,000 invisible infrared dots onto your face to build a detailed 3D depth map.
That data is then processed by Apple’s Neural Engine, creating a secure mathematical model that adapts even if you change your hairstyle, grow a beard, or wear glasses

