Fingerprints have unique patterns of ridges and valleys that can be used for identification. Fingerprint scanners work by imaging these ridge and valley patterns using either optical or capacitive methods and then analyzing the features using complex algorithms to determine if there is a match on file. Fingerprint analysis has applications in both criminal investigations and security systems since no two fingerprints are alike, containing identifying information in their unique patterns.