It calculates and stores a unique fingerprint for each song in the database so that if the files are renamed or moved on disk (within the collection directory) it manage to track where the files moves so it does not loose playcounts and ratings data.
See https://en.wikipedia.org/wiki/Acoustic_fingerprint