Answer
The system detects a face, extracts key facial features into a numeric representation, and compares that representation against stored records to find a match.
Real-world example A phone uses facial recognition to unlock the screen only when it detects the registered owner's face.