Silver nitrate reacts with the sodium chloride present in sweat residues of latent fingerprints to form silver chloride. Upon exposure to ultraviolet light, the silver chloride darkens, making the fingerprint visible. This method is particularly useful on porous surfaces.