Fingerprint scanners work by generating an image of a fingerprint's ridges and valleys, then analyzing the unique pattern to determine if it matches fingerprints on file. There are two main types - optical scanners that use light to image fingerprints, and capacitive scanners that use electrical current. While movies show direct overlay of prints, real analysis involves more sophisticated matching of ridge and valley patterns to verify a user's identity.