A fingerprint scanner is a small device that reads the unique pattern of your fingerprint and uses it to unlock your phone. The scanner uses an optical sensor to capture an image of your fingerprint, which is then converted into a digital template. The template is stored on your phone and used to unlock the device when your fingerprint is detected.