Fingerprint scanners work by capturing an image of a fingerprint's unique ridge and valley patterns using either an optical or capacitive scanner. Optical scanners use a charge-coupled device to capture the fingerprint image and check for clarity before comparing the captured print to stored prints. Capacitive scanners also image ridges and valleys but require an actual fingerprint shape, making them harder to trick than optical scanners. Both types of scanners analyze specific fingerprint features called minutiae to determine a match by finding a sufficient number of common minutiae patterns rather than requiring a complete match. Fingerprint scanning provides more secure authentication than passwords or identity cards because physical attributes are harder to fake or lose than memorized information.